#666CC4

Closest named color: Dark Periwinkle (#665FD1). oklch(56.8% 0.134 278.3), rgb(102, 108, 196).

Aa

White text reads best on this color (4.65:1).

About this color

#666CC4 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.134 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.041 away. White text reads best on it, at 4.65:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.134)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.50:1
White text4.65:1

Values

HEX#666CC4
RGBrgb(102, 108, 196)
HSLhsl(236, 44%, 58%)
OKLCHoklch(56.8% 0.134 278.3)

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 #666CC4 4.65:1 AA Lc -77.7 Fine for body text
Black text on #666CC4 4.50:1 AA Lc 31.9 Non-text elements, placeholder text
#666CC4 text on white 4.65:1 AA Lc 72.2 Content text, not long reading
#666CC4 text on black 4.50:1 AA Lc -29.5 Dividers and decoration only

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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D3D7F0

    oklch(88.4% 0.035 278.4)

  4. Step 300

    300

    #B7BDE8

    oklch(80.8% 0.061 278.7)

  5. Step 400

    400

    #939BDC

    oklch(70.8% 0.095 278.3)

  6. Step 500

    500

    #7980D3

    oklch(63% 0.124 278.5)

  7. Step 600

    600 (this color)

    #666CC4

    oklch(56.8% 0.134 278.3)

  8. Step 700

    700

    #5256A6

    oklch(49% 0.126 278.5)

  9. Step 800

    800

    #434786

    oklch(42.7% 0.103 278.3)

  10. Step 900

    900

    #383C6C

    oklch(37.7% 0.082 278.1)

  11. Step 950

    950

    #21233F

    oklch(26.9% 0.052 279.2)

Export this scale for Tailwind in the Tailwind colors tool

#666CC4 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)#4878C70.044
Deuteranopia (no green cones)#4071C20.045
Tritanopia (no blue cones)#437F8E0.119
Achromatopsia (no color)#7474740.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #666CC4

    #666CC4

    oklch(56.8% 0.134 278.3)

  • #897700

    #897700

    oklch(56.9% 0.118 98.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #666CC4

    #666CC4

    oklch(56.8% 0.134 278.3)

  • #267BC1

    #267BC1

    oklch(56.8% 0.134 248.1)

  • #8D5EB3

    #8D5EB3

    oklch(56.8% 0.135 308.2)

Open the analogous palette in the generator

Split complementary

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

  • #666CC4

    #666CC4

    oklch(56.8% 0.134 278.3)

  • #A66600

    #A66600

    oklch(56.8% 0.125 67.8)

  • #5F851F

    #5F851F

    oklch(56.8% 0.134 128.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #666CC4

    #666CC4

    oklch(56.8% 0.134 278.3)

  • #B75637

    #B75637

    oklch(56.8% 0.134 38.2)

  • #008D58

    #008D58

    oklch(56.7% 0.132 158.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #666CC4

    #666CC4

    oklch(56.8% 0.134 278.3)

  • #B65067

    #B65067

    oklch(56.7% 0.134 8.3)

  • #897700

    #897700

    oklch(56.9% 0.118 98.6)

  • #008982

    #008982

    oklch(56.8% 0.099 188.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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