#406BD2

Closest named color: Royal Blue (#4169E1). oklch(55.3% 0.166 264.5), rgb(64, 107, 210).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.166)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.25:1
White text4.93:1

Values

HEX#406BD2
RGBrgb(64, 107, 210)
HSLhsl(222, 62%, 54%)
OKLCHoklch(55.3% 0.166 264.5)

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 #406BD2 4.93:1 AA Lc -79.3 Fine for body text
Black text on #406BD2 4.25:1 AA large text Lc 30.2 Non-text elements, placeholder text
#406BD2 text on white 4.93:1 AA Lc 73.8 Content text, not long reading
#406BD2 text on black 4.25:1 AA large text Lc -27.9 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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CCD9F5

    oklch(88.4% 0.041 265.7)

  4. Step 300

    300

    #A9C1F2

    oklch(81% 0.074 264.4)

  5. Step 400

    400

    #7B9FEB

    oklch(70.7% 0.119 264.3)

  6. Step 500

    500

    #5A85E5

    oklch(63.1% 0.152 264.3)

  7. Step 600

    600 (this color)

    #406BD2

    oklch(55.3% 0.166 264.5)

  8. Step 700

    700

    #335AB7

    oklch(49.2% 0.154 264.3)

  9. Step 800

    800

    #2B4A94

    oklch(42.8% 0.127 264.5)

  10. Step 900

    900

    #263E76

    oklch(37.6% 0.1 264.6)

  11. Step 950

    950

    #172545

    oklch(27% 0.063 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#406BD2 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)#3177D60.031
Deuteranopia (no green cones)#006AD00.035
Tritanopia (no blue cones)#0083940.134
Achromatopsia (no color)#7070700.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #406BD2

    #406BD2

    oklch(55.3% 0.166 264.5)

  • #916C00

    #916C00

    oklch(55.4% 0.113 84.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406BD2

    #406BD2

    oklch(55.3% 0.166 264.5)

  • #007CAC

    #007CAC

    oklch(55.3% 0.117 234.5)

  • #7B59C8

    #7B59C8

    oklch(55.4% 0.166 294.5)

Open the analogous palette in the generator

Split complementary

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

  • #406BD2

    #406BD2

    oklch(55.3% 0.166 264.5)

  • #AE5800

    #AE5800

    oklch(55.4% 0.138 54.7)

  • #717A00

    #717A00

    oklch(55.3% 0.125 114.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406BD2

    #406BD2

    oklch(55.3% 0.166 264.5)

  • #C03F3E

    #C03F3E

    oklch(55.2% 0.165 24.7)

  • #188A28

    #188A28

    oklch(55.4% 0.166 144.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406BD2

    #406BD2

    oklch(55.3% 0.166 264.5)

  • #B83E78

    #B83E78

    oklch(55.3% 0.166 354.6)

  • #916C00

    #916C00

    oklch(55.4% 0.113 84.8)

  • #00866E

    #00866E

    oklch(55.3% 0.105 174.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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