#666AEF

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.3% 0.196 277.3), rgb(102, 106, 239).

Aa

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

About this color

#666AEF is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.196 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.030 away. Black text reads best on it, at 4.87:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.196)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.87:1
White text4.30:1

Values

HEX#666AEF
RGBrgb(102, 106, 239)
HSLhsl(238, 81%, 67%)
OKLCHoklch(59.3% 0.196 277.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 #666AEF 4.30:1 AA large text Lc -74.9 Content text, not long reading
Black text on #666AEF 4.87:1 AA Lc 34.6 Non-text elements, placeholder text
#666AEF text on white 4.30:1 AA large text Lc 69.5 Content text, not long reading
#666AEF text on black 4.87:1 AA Lc -32.2 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D1D7FA

    oklch(88.6% 0.049 277.7)

  4. Step 300

    300

    #B2BCFA

    oklch(81% 0.088 277.1)

  5. Step 400

    400

    #8C96F7

    oklch(70.6% 0.141 277.7)

  6. Step 500

    500

    #7279F3

    oklch(63.1% 0.179 277.5)

  7. Step 600

    600 (this color)

    #666AEF

    oklch(59.3% 0.196 277.3)

  8. Step 700

    700

    #4D4DC4

    oklch(49.2% 0.181 277.4)

  9. Step 800

    800

    #3E409F

    oklch(42.7% 0.151 277)

  10. Step 900

    900

    #34377E

    oklch(37.6% 0.118 277.3)

  11. Step 950

    950

    #1E214A

    oklch(27% 0.075 277)

Export this scale for Tailwind in the Tailwind colors tool

#666AEF 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)#0080F40.079
Deuteranopia (no green cones)#0074EC0.074
Tritanopia (no blue cones)#0589A20.171
Achromatopsia (no color)#7A7A7A0.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #666AEF

    #666AEF

    oklch(59.3% 0.196 277.3)

  • #937D00

    #937D00

    oklch(59.2% 0.122 96.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #666AEF

    #666AEF

    oklch(59.3% 0.196 277.3)

  • #0083D5

    #0083D5

    oklch(59.3% 0.156 247)

  • #9D55D6

    #9D55D6

    oklch(59.3% 0.195 307.2)

Open the analogous palette in the generator

Split complementary

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

  • #666AEF

    #666AEF

    oklch(59.3% 0.196 277.3)

  • #B16C00

    #B16C00

    oklch(59.3% 0.131 67)

  • #658E00

    #658E00

    oklch(59.4% 0.154 127.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #666AEF

    #666AEF

    oklch(59.3% 0.196 277.3)

  • #D94203

    #D94203

    oklch(59.3% 0.196 37.2)

  • #00965C

    #00965C

    oklch(59.3% 0.14 157.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #666AEF

    #666AEF

    oklch(59.3% 0.196 277.3)

  • #D73869

    #D73869

    oklch(59.3% 0.196 7.4)

  • #937D00

    #937D00

    oklch(59.2% 0.122 96.7)

  • #009289

    #009289

    oklch(59.4% 0.104 187.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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