#666EDC

Closest named color: Dark Periwinkle (#665FD1). oklch(58.7% 0.165 276.9), rgb(102, 110, 220).

Aa

Black text reads best on this color (4.82:1).

About this color

#666EDC is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.165 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.039 away. Black text reads best on it, at 4.82:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.165)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.82:1
White text4.34:1

Values

HEX#666EDC
RGBrgb(102, 110, 220)
HSLhsl(236, 63%, 63%)
OKLCHoklch(58.7% 0.165 276.9)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #666EDC 4.34:1 AA large text Lc -75.4 Fine for body text
Black text on #666EDC 4.82:1 AA Lc 34.2 Non-text elements, placeholder text
#666EDC text on white 4.34:1 AA large text Lc 69.9 Content text, not long reading
#666EDC text on black 4.82:1 AA Lc -31.8 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D2D7F5

    oklch(88.5% 0.042 278)

  4. Step 300

    300

    #B4BDF1

    oklch(80.9% 0.074 277)

  5. Step 400

    400

    #8E99EA

    oklch(70.7% 0.119 277)

  6. Step 500

    500

    #747EE3

    oklch(63.2% 0.151 276.9)

  7. Step 600

    600 (this color)

    #666EDC

    oklch(58.7% 0.165 276.9)

  8. Step 700

    700

    #4D53B5

    oklch(49.1% 0.153 276.6)

  9. Step 800

    800

    #3F4493

    oklch(42.7% 0.128 276.8)

  10. Step 900

    900

    #353A75

    oklch(37.6% 0.1 276.8)

  11. Step 950

    950

    #1F2345

    oklch(27.1% 0.063 276.3)

Export this scale for Tailwind in the Tailwind colors tool

#666EDC with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#377EE00.057
Deuteranopia (no green cones)#2774DA0.061
Tritanopia (no blue cones)#2E879B0.145
Achromatopsia (no color)#7979790.166

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #666EDC

    #666EDC

    oklch(58.7% 0.165 276.9)

  • #917C00

    #917C00

    oklch(58.8% 0.121 97.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #666EDC

    #666EDC

    oklch(58.7% 0.165 276.9)

  • #0081D2

    #0081D2

    oklch(58.7% 0.155 247.1)

  • #965CC8

    #965CC8

    oklch(58.6% 0.166 306.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #666EDC

    #666EDC

    oklch(58.7% 0.165 276.9)

  • #AF6A00

    #AF6A00

    oklch(58.7% 0.13 66.5)

  • #648C00

    #648C00

    oklch(58.8% 0.152 127.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #666EDC

    #666EDC

    oklch(58.7% 0.165 276.9)

  • #CB4F2A

    #CB4F2A

    oklch(58.7% 0.166 36.8)

  • #009459

    #009459

    oklch(58.6% 0.14 156.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #666EDC

    #666EDC

    oklch(58.7% 0.165 276.9)

  • #C9486C

    #C9486C

    oklch(58.7% 0.166 6.7)

  • #917C00

    #917C00

    oklch(58.8% 0.121 97.2)

  • #009086

    #009086

    oklch(58.8% 0.103 186.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #666EDC, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #666EDC in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.