#6166EA

Closest named color: Medium Slate Blue (#7B68EE). oklch(57.9% 0.195 276.8), rgb(97, 102, 234).

Aa

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

About this color

#6166EA is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.195 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.039 away. Black text reads best on it, at 4.59:1.

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

Values

HEX#6166EA
RGBrgb(97, 102, 234)
HSLhsl(238, 77%, 65%)
OKLCHoklch(57.9% 0.195 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 #6166EA 4.56:1 AA Lc -76.8 Fine for body text
Black text on #6166EA 4.59:1 AA Lc 32.7 Non-text elements, placeholder text
#6166EA text on white 4.56:1 AA Lc 71.3 Content text, not long reading
#6166EA text on black 4.59:1 AA Lc -30.3 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

    #B2BCFA

    oklch(81% 0.088 277.1)

  5. Step 400

    400

    #8B97F7

    oklch(70.8% 0.14 276.8)

  6. Step 500

    500

    #7079F3

    oklch(63% 0.18 276.7)

  7. Step 600

    600 (this color)

    #6166EA

    oklch(57.9% 0.195 276.8)

  8. Step 700

    700

    #4B4DC4

    oklch(49% 0.181 276.7)

  9. Step 800

    800

    #3D409F

    oklch(42.7% 0.151 276.5)

  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

#6166EA 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)#007BEE0.075
Deuteranopia (no green cones)#0070E70.070
Tritanopia (no blue cones)#00859E0.169
Achromatopsia (no color)#7676760.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #6166EA

    #6166EA

    oklch(57.9% 0.195 276.8)

  • #8E7900

    #8E7900

    oklch(57.8% 0.119 96.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6166EA

    #6166EA

    oklch(57.9% 0.195 276.8)

  • #007FCD

    #007FCD

    oklch(57.9% 0.151 246.5)

  • #9851D2

    #9851D2

    oklch(57.9% 0.195 306.6)

Open the analogous palette in the generator

Split complementary

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

  • #6166EA

    #6166EA

    oklch(57.9% 0.195 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.

  • #6166EA

    #6166EA

    oklch(57.9% 0.195 276.8)

  • #D33D00

    #D33D00

    oklch(57.8% 0.195 36.7)

  • #009157

    #009157

    oklch(57.8% 0.138 156.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6166EA

    #6166EA

    oklch(57.9% 0.195 276.8)

  • #D13366

    #D13366

    oklch(57.8% 0.195 6.9)

  • #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 #6166EA, closest first.

Similar named colors

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

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