#406CED

Closest named color: Royal Blue (#4169E1). oklch(57.4% 0.201 266), rgb(64, 108, 237).

Aa

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

About this color

#406CED is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.201 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.019 away. Black text reads best on it, at 4.58:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.201)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.58:1
White text4.57:1

Values

HEX#406CED
RGBrgb(64, 108, 237)
HSLhsl(225, 83%, 59%)
OKLCHoklch(57.4% 0.201 266)

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 #406CED 4.57:1 AA Lc -76.8 Fine for body text
Black text on #406CED 4.58:1 AA Lc 32.8 Non-text elements, placeholder text
#406CED text on white 4.57:1 AA Lc 71.3 Content text, not long reading
#406CED text on black 4.58:1 AA Lc -30.4 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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CAD9FB

    oklch(88.5% 0.05 266.5)

  4. Step 300

    300

    #A5C0FC

    oklch(80.9% 0.09 265.7)

  5. Step 400

    400

    #769CFA

    oklch(70.6% 0.144 266.2)

  6. Step 500

    500

    #5480F8

    oklch(63% 0.186 266.1)

  7. Step 600

    600 (this color)

    #406CED

    oklch(57.4% 0.201 266)

  8. Step 700

    700

    #2E54C9

    oklch(49.2% 0.187 265.9)

  9. Step 800

    800

    #2645A2

    oklch(42.6% 0.155 266)

  10. Step 900

    900

    #233C81

    oklch(37.8% 0.121 265.8)

  11. Step 950

    950

    #15244B

    oklch(27.1% 0.075 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#406CED 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)#007EF10.047
Deuteranopia (no green cones)#006EEA0.032
Tritanopia (no blue cones)#008CA20.160
Achromatopsia (no color)#7575750.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #406CED

    #406CED

    oklch(57.4% 0.201 266)

  • #977200

    #977200

    oklch(57.3% 0.117 85.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406CED

    #406CED

    oklch(57.4% 0.201 266)

  • #0082B7

    #0082B7

    oklch(57.4% 0.124 236)

  • #8655DF

    #8655DF

    oklch(57.4% 0.201 295.8)

Open the analogous palette in the generator

Split complementary

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

  • #406CED

    #406CED

    oklch(57.4% 0.201 266)

  • #B55E00

    #B55E00

    oklch(57.4% 0.14 56)

  • #758100

    #758100

    oklch(57.3% 0.131 116.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406CED

    #406CED

    oklch(57.4% 0.201 266)

  • #D53132

    #D53132

    oklch(57.3% 0.2 26)

  • #00922D

    #00922D

    oklch(57.4% 0.176 146)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406CED

    #406CED

    oklch(57.4% 0.201 266)

  • #CC307C

    #CC307C

    oklch(57.4% 0.201 356.1)

  • #977200

    #977200

    oklch(57.3% 0.117 85.9)

  • #008D76

    #008D76

    oklch(57.5% 0.108 175.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #406CED 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.