#666DDD

Closest named color: Dark Periwinkle (#665FD1). oklch(58.6% 0.168 277.2), rgb(102, 109, 221).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.168)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.79:1
White text4.37:1

Values

HEX#666DDD
RGBrgb(102, 109, 221)
HSLhsl(236, 64%, 63%)
OKLCHoklch(58.6% 0.168 277.2)

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 #666DDD 4.37:1 AA large text Lc -75.6 Fine for body text
Black text on #666DDD 4.79:1 AA Lc 34.0 Non-text elements, placeholder text
#666DDD text on white 4.37:1 AA large text Lc 70.1 Content text, not long reading
#666DDD text on black 4.79:1 AA Lc -31.6 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

    #B4BDF2

    oklch(81% 0.076 277.1)

  5. Step 400

    400

    #8E99EB

    oklch(70.8% 0.12 277)

  6. Step 500

    500

    #747DE5

    oklch(63.1% 0.155 277.3)

  7. Step 600

    600 (this color)

    #666DDD

    oklch(58.6% 0.168 277.2)

  8. Step 700

    700

    #4E52B7

    oklch(49.1% 0.157 277.3)

  9. Step 800

    800

    #404494

    oklch(42.8% 0.129 277.3)

  10. Step 900

    900

    #353A76

    oklch(37.7% 0.101 276.8)

  11. Step 950

    950

    #1F2245

    oklch(26.9% 0.064 277.4)

Export this scale for Tailwind in the Tailwind colors tool

#666DDD 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)#337EE10.061
Deuteranopia (no green cones)#2174DB0.065
Tritanopia (no blue cones)#2D869B0.146
Achromatopsia (no color)#7979790.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #666DDD

    #666DDD

    oklch(58.6% 0.168 277.2)

  • #907B00

    #907B00

    oklch(58.5% 0.121 97.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #666DDD

    #666DDD

    oklch(58.6% 0.168 277.2)

  • #0081D2

    #0081D2

    oklch(58.7% 0.155 247.1)

  • #975BC8

    #975BC8

    oklch(58.6% 0.168 307.4)

Open the analogous palette in the generator

Split complementary

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

  • #666DDD

    #666DDD

    oklch(58.6% 0.168 277.2)

  • #AE6A00

    #AE6A00

    oklch(58.6% 0.129 66.9)

  • #638B00

    #638B00

    oklch(58.5% 0.151 127.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #666DDD

    #666DDD

    oklch(58.6% 0.168 277.2)

  • #CB4E27

    #CB4E27

    oklch(58.6% 0.167 37.2)

  • #00945A

    #00945A

    oklch(58.7% 0.139 157.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #666DDD

    #666DDD

    oklch(58.6% 0.168 277.2)

  • #CA466A

    #CA466A

    oklch(58.6% 0.169 7.4)

  • #907B00

    #907B00

    oklch(58.5% 0.121 97.1)

  • #008F86

    #008F86

    oklch(58.5% 0.102 187)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #666DDD 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.