#6666E2

Closest named color: Dark Periwinkle (#665FD1). oklch(57.6% 0.184 279), rgb(102, 102, 226).

Aa

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

About this color

#6666E2 is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.184 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.030 away. White text reads best on it, at 4.60:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.184)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.56:1
White text4.60:1

Values

HEX#6666E2
RGBrgb(102, 102, 226)
HSLhsl(240, 68%, 64%)
OKLCHoklch(57.6% 0.184 279)

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 #6666E2 4.60:1 AA Lc -77.1 Fine for body text
Black text on #6666E2 4.56:1 AA Lc 32.5 Non-text elements, placeholder text
#6666E2 text on white 4.60:1 AA Lc 71.6 Content text, not long reading
#6666E2 text on black 4.56:1 AA Lc -30.0 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E9FA

    oklch(93.7% 0.023 277.9)

  3. Step 200

    200

    #D2D7F8

    oklch(88.6% 0.046 278.6)

  4. Step 300

    300

    #B5BCF6

    oklch(81% 0.082 279)

  5. Step 400

    400

    #8F97F1

    oklch(70.7% 0.131 278.6)

  6. Step 500

    500

    #767AED

    oklch(63.2% 0.169 278.9)

  7. Step 600

    600 (this color)

    #6666E2

    oklch(57.6% 0.184 279)

  8. Step 700

    700

    #504EBE

    oklch(49.1% 0.171 278.8)

  9. Step 800

    800

    #41419A

    oklch(42.8% 0.142 278.6)

  10. Step 900

    900

    #37387A

    oklch(37.7% 0.11 279.1)

  11. Step 950

    950

    #202148

    oklch(27% 0.071 279.4)

Export this scale for Tailwind in the Tailwind colors tool

#6666E2 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)#0E7AE60.078
Deuteranopia (no green cones)#0070DF0.077
Tritanopia (no blue cones)#27839A0.160
Achromatopsia (no color)#7575750.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #6666E2

    #6666E2

    oklch(57.6% 0.184 279)

  • #8B7900

    #8B7900

    oklch(57.5% 0.119 98.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6666E2

    #6666E2

    oklch(57.6% 0.184 279)

  • #007DD2

    #007DD2

    oklch(57.8% 0.159 248.8)

  • #9952CA

    #9952CA

    oklch(57.6% 0.185 309)

Open the analogous palette in the generator

Split complementary

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

  • #6666E2

    #6666E2

    oklch(57.6% 0.184 279)

  • #A86900

    #A86900

    oklch(57.6% 0.126 69.1)

  • #5C8900

    #5C8900

    oklch(57.5% 0.153 129)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6666E2

    #6666E2

    oklch(57.6% 0.184 279)

  • #CE4403

    #CE4403

    oklch(57.7% 0.184 38.9)

  • #00905C

    #00905C

    oklch(57.6% 0.132 159.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6666E2

    #6666E2

    oklch(57.6% 0.184 279)

  • #CD3A62

    #CD3A62

    oklch(57.6% 0.184 9.1)

  • #8B7900

    #8B7900

    oklch(57.5% 0.119 98.8)

  • #008C85

    #008C85

    oklch(57.7% 0.1 188.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6666E2 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.