#6166E9

Closest named color: Dark Periwinkle (#665FD1). oklch(57.8% 0.194 276.8), rgb(97, 102, 233).

Aa

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

About this color

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

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

Values

HEX#6166E9
RGBrgb(97, 102, 233)
HSLhsl(238, 76%, 65%)
OKLCHoklch(57.8% 0.194 276.8)

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 #6166E9 4.57:1 AA Lc -76.9 Fine for body text
Black text on #6166E9 4.58:1 AA Lc 32.7 Non-text elements, placeholder text
#6166E9 text on white 4.57:1 AA Lc 71.4 Content text, not long reading
#6166E9 text on black 4.58:1 AA Lc -30.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

    #D0D7FA

    oklch(88.5% 0.049 276.4)

  4. Step 300

    300

    #B2BCF9

    oklch(80.9% 0.087 277.1)

  5. Step 400

    400

    #8B97F6

    oklch(70.7% 0.139 276.8)

  6. Step 500

    500

    #717AF3

    oklch(63.2% 0.178 276.8)

  7. Step 600

    600 (this color)

    #6166E9

    oklch(57.8% 0.194 276.8)

  8. Step 700

    700

    #4C4DC4

    oklch(49.1% 0.181 277)

  9. Step 800

    800

    #3E409E

    oklch(42.7% 0.149 277.1)

  10. Step 900

    900

    #34387E

    oklch(37.8% 0.116 276.8)

  11. Step 950

    950

    #1E214A

    oklch(27% 0.075 277)

Export this scale for Tailwind in the Tailwind colors tool

#6166E9 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)#007BED0.075
Deuteranopia (no green cones)#0070E60.070
Tritanopia (no blue cones)#00859E0.168
Achromatopsia (no color)#7575750.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #6166E9

    #6166E9

    oklch(57.8% 0.194 276.8)

  • #8E7900

    #8E7900

    oklch(57.8% 0.119 96.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6166E9

    #6166E9

    oklch(57.8% 0.194 276.8)

  • #007ECD

    #007ECD

    oklch(57.7% 0.152 247)

  • #9851D1

    #9851D1

    oklch(57.8% 0.194 306.9)

Open the analogous palette in the generator

Split complementary

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

  • #6166E9

    #6166E9

    oklch(57.8% 0.194 276.8)

  • #AB6800

    #AB6800

    oklch(57.8% 0.128 66.9)

  • #628900

    #628900

    oklch(57.9% 0.149 127)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6166E9

    #6166E9

    oklch(57.8% 0.194 276.8)

  • #D33E01

    #D33E01

    oklch(57.9% 0.194 36.9)

  • #009157

    #009157

    oklch(57.8% 0.138 156.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6166E9

    #6166E9

    oklch(57.8% 0.194 276.8)

  • #D13466

    #D13466

    oklch(57.9% 0.194 7)

  • #8E7900

    #8E7900

    oklch(57.8% 0.119 96.9)

  • #008D84

    #008D84

    oklch(57.9% 0.101 186.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6166E9 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.