#406FDC

Closest named color: Royal Blue (#4169E1). oklch(56.8% 0.175 264.1), rgb(64, 111, 220).

Aa

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

About this color

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

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

Values

HEX#406FDC
RGBrgb(64, 111, 220)
HSLhsl(222, 69%, 56%)
OKLCHoklch(56.8% 0.175 264.1)

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 #406FDC 4.64:1 AA Lc -77.3 Fine for body text
Black text on #406FDC 4.52:1 AA Lc 32.2 Non-text elements, placeholder text
#406FDC text on white 4.64:1 AA Lc 71.8 Content text, not long reading
#406FDC text on black 4.52:1 AA Lc -29.8 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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CBDAF7

    oklch(88.6% 0.043 263.7)

  4. Step 300

    300

    #A7C1F4

    oklch(80.9% 0.078 263.6)

  5. Step 400

    400

    #789FEF

    oklch(70.8% 0.125 263.7)

  6. Step 500

    500

    #5784EA

    oklch(63.1% 0.161 264.4)

  7. Step 600

    600 (this color)

    #406FDC

    oklch(56.8% 0.175 264.1)

  8. Step 700

    700

    #2F59BB

    oklch(49.1% 0.162 263.9)

  9. Step 800

    800

    #284998

    oklch(42.7% 0.135 264.3)

  10. Step 900

    900

    #243E79

    oklch(37.7% 0.106 264.1)

  11. Step 950

    950

    #152547

    oklch(27.1% 0.067 263.6)

Export this scale for Tailwind in the Tailwind colors tool

#406FDC 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)#2F7CE00.033
Deuteranopia (no green cones)#006EDA0.034
Tritanopia (no blue cones)#00899B0.140
Achromatopsia (no color)#7474740.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #406FDC

    #406FDC

    oklch(56.8% 0.175 264.1)

  • #977000

    #977000

    oklch(56.9% 0.117 84.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406FDC

    #406FDC

    oklch(56.8% 0.175 264.1)

  • #0081B2

    #0081B2

    oklch(56.9% 0.119 234.1)

  • #7F5BD1

    #7F5BD1

    oklch(56.7% 0.175 294.2)

Open the analogous palette in the generator

Split complementary

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

  • #406FDC

    #406FDC

    oklch(56.8% 0.175 264.1)

  • #B55B00

    #B55B00

    oklch(56.9% 0.142 54.2)

  • #767E00

    #767E00

    oklch(56.7% 0.128 114.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406FDC

    #406FDC

    oklch(56.8% 0.175 264.1)

  • #C93F40

    #C93F40

    oklch(56.8% 0.175 24.3)

  • #178F25

    #178F25

    oklch(56.7% 0.174 144.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406FDC

    #406FDC

    oklch(56.8% 0.175 264.1)

  • #C03F7E

    #C03F7E

    oklch(56.9% 0.175 354)

  • #977000

    #977000

    oklch(56.9% 0.117 84.3)

  • #008B72

    #008B72

    oklch(56.8% 0.108 174.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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