#666EF8

Closest named color: Cornflower (#6A79F7). oklch(60.7% 0.203 276), rgb(102, 110, 248).

Aa

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

About this color

#666EF8 is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.203 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.028 away. Black text reads best on it, at 5.15:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.203)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.15:1
White text4.07:1

Values

HEX#666EF8
RGBrgb(102, 110, 248)
HSLhsl(237, 91%, 69%)
OKLCHoklch(60.7% 0.203 276)

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 #666EF8 4.07:1 AA large text Lc -73.1 Content text, not long reading
Black text on #666EF8 5.15:1 AA Lc 36.5 Non-text elements, placeholder text
#666EF8 text on white 4.07:1 AA large text Lc 67.6 Content text, not long reading
#666EF8 text on black 5.15:1 AA Lc -34.1 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 500.

  1. Step 50

    50

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E9FE

    oklch(93.7% 0.029 275.2)

  3. Step 200

    200

    #CFD7FE

    oklch(88.6% 0.054 276.1)

  4. Step 300

    300

    #AFBCFF

    oklch(80.9% 0.096 275.6)

  5. Step 400

    400

    #8896FF

    oklch(70.8% 0.153 276)

  6. Step 500

    500 (this color)

    #666EF8

    oklch(60.7% 0.203 276)

  7. Step 600

    600

    #5859F0

    oklch(55.5% 0.221 276.2)

  8. Step 700

    700

    #4948D1

    oklch(49.2% 0.205 276.1)

  9. Step 800

    800

    #3B3CA9

    oklch(42.7% 0.17 276)

  10. Step 900

    900

    #323586

    oklch(37.7% 0.133 276.4)

  11. Step 950

    950

    #1D204E

    oklch(27% 0.083 276.5)

Export this scale for Tailwind in the Tailwind colors tool

#666EF8 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)#0084FD0.076
Deuteranopia (no green cones)#0078F50.071
Tritanopia (no blue cones)#008FA80.176
Achromatopsia (no color)#7E7E7E0.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #666EF8

    #666EF8

    oklch(60.7% 0.203 276)

  • #998100

    #998100

    oklch(60.7% 0.125 95.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #666EF8

    #666EF8

    oklch(60.7% 0.203 276)

  • #0088D9

    #0088D9

    oklch(60.7% 0.156 245.9)

  • #A158E0

    #A158E0

    oklch(60.8% 0.202 306)

Open the analogous palette in the generator

Split complementary

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

  • #666EF8

    #666EF8

    oklch(60.7% 0.203 276)

  • #B76F00

    #B76F00

    oklch(60.7% 0.135 66.4)

  • #6B9100

    #6B9100

    oklch(60.6% 0.154 125.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #666EF8

    #666EF8

    oklch(60.7% 0.203 276)

  • #E1420C

    #E1420C

    oklch(60.7% 0.203 35.9)

  • #009B5B

    #009B5B

    oklch(60.6% 0.147 156)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #666EF8

    #666EF8

    oklch(60.7% 0.203 276)

  • #DE396F

    #DE396F

    oklch(60.7% 0.203 6.3)

  • #998100

    #998100

    oklch(60.7% 0.125 95.9)

  • #00968C

    #00968C

    oklch(60.6% 0.106 186.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #666EF8.

Similar named colors

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

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