#406DCE

Closest named color: Royal Blue (#4169E1). oklch(55.4% 0.158 263.4), rgb(64, 109, 206).

Aa

White text reads best on this color (4.88:1).

About this color

#406DCE is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.158 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.032 away. White text reads best on it, at 4.88:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.158)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.29:1
White text4.88:1

Values

HEX#406DCE
RGBrgb(64, 109, 206)
HSLhsl(221, 59%, 53%)
OKLCHoklch(55.4% 0.158 263.4)

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 #406DCE 4.88:1 AA Lc -79.0 Fine for body text
Black text on #406DCE 4.29:1 AA large text Lc 30.5 Non-text elements, placeholder text
#406DCE text on white 4.88:1 AA Lc 73.5 Content text, not long reading
#406DCE text on black 4.29:1 AA large text Lc -28.2 Dividers and decoration only

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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CCDAF4

    oklch(88.6% 0.039 262.9)

  4. Step 300

    300

    #A9C1EF

    oklch(80.9% 0.07 263.3)

  5. Step 400

    400

    #7BA0E8

    oklch(70.8% 0.114 263)

  6. Step 500

    500

    #5A86E1

    oklch(63.1% 0.146 263.3)

  7. Step 600

    600 (this color)

    #406DCE

    oklch(55.4% 0.158 263.4)

  8. Step 700

    700

    #335BB3

    oklch(49.1% 0.147 263.5)

  9. Step 800

    800

    #2A4B91

    oklch(42.7% 0.122 263.2)

  10. Step 900

    900

    #263F74

    oklch(37.7% 0.096 263.5)

  11. Step 950

    950

    #172544

    oklch(27% 0.061 264.4)

Export this scale for Tailwind in the Tailwind colors tool

#406DCE 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)#3A78D20.028
Deuteranopia (no green cones)#196BCC0.029
Tritanopia (no blue cones)#0084930.129
Achromatopsia (no color)#7171710.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #406DCE

    #406DCE

    oklch(55.4% 0.158 263.4)

  • #926B00

    #926B00

    oklch(55.3% 0.114 83.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406DCE

    #406DCE

    oklch(55.4% 0.158 263.4)

  • #007DAB

    #007DAB

    oklch(55.5% 0.115 233.2)

  • #795CC5

    #795CC5

    oklch(55.5% 0.157 293.3)

Open the analogous palette in the generator

Split complementary

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

  • #406DCE

    #406DCE

    oklch(55.4% 0.158 263.4)

  • #AF5700

    #AF5700

    oklch(55.4% 0.139 53.7)

  • #737A00

    #737A00

    oklch(55.5% 0.124 113.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406DCE

    #406DCE

    oklch(55.4% 0.158 263.4)

  • #BE4344

    #BE4344

    oklch(55.5% 0.158 23.4)

  • #28892B

    #28892B

    oklch(55.4% 0.158 143.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406DCE

    #406DCE

    oklch(55.4% 0.158 263.4)

  • #B5437A

    #B5437A

    oklch(55.5% 0.158 353.5)

  • #926B00

    #926B00

    oklch(55.3% 0.114 83.3)

  • #00866D

    #00866D

    oklch(55.3% 0.106 173.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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