#406A9D

Closest named color: Muted Blue (#3B719F). oklch(51.7% 0.094 254.2), rgb(64, 106, 157).

Aa

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

About this color

#406A9D is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.094 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Muted Blue (#3B719F), ΔE 0.020 away. White text reads best on it, at 5.57:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.094)
Temperaturecool
Nearest nameMuted Blue (#3B719F)
Black text3.76:1
White text5.57:1

Values

HEX#406A9D
RGBrgb(64, 106, 157)
HSLhsl(213, 42%, 43%)
OKLCHoklch(51.7% 0.094 254.2)

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 #406A9D 5.57:1 AA Lc -83.0 Fine for body text
Black text on #406A9D 3.76:1 AA large text Lc 26.4 Dividers and decoration only
#406A9D text on white 5.57:1 AA Lc 77.7 Fine for body text
#406A9D text on black 3.76:1 AA large text Lc -24.1 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 700.

  1. Step 50

    50

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF3

    oklch(93.5% 0.014 258.3)

  3. Step 200

    200

    #CEDAEA

    oklch(88.4% 0.026 255.6)

  4. Step 300

    300

    #ADC3DE

    oklch(80.9% 0.045 253.6)

  5. Step 400

    400

    #81A3CE

    oklch(70.6% 0.074 254.6)

  6. Step 500

    500

    #618CC1

    oklch(63.1% 0.093 254.2)

  7. Step 600

    600

    #4775AD

    oklch(55.5% 0.101 254.2)

  8. Step 700

    700 (this color)

    #406A9D

    oklch(51.7% 0.094 254.2)

  9. Step 800

    800

    #2F5079

    oklch(42.6% 0.079 254.6)

  10. Step 900

    900

    #2A4361

    oklch(37.7% 0.06 253.7)

  11. Step 950

    950

    #192739

    oklch(26.9% 0.039 255.1)

Export this scale for Tailwind in the Tailwind colors tool

#406A9D 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)#556D9F0.027
Deuteranopia (no green cones)#49649C0.018
Tritanopia (no blue cones)#00767C0.081
Achromatopsia (no color)#6868680.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #406A9D

    #406A9D

    oklch(51.7% 0.094 254.2)

  • #885F20

    #885F20

    oklch(51.7% 0.094 74.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406A9D

    #406A9D

    oklch(51.7% 0.094 254.2)

  • #0D7390

    #0D7390

    oklch(51.7% 0.094 224.1)

  • #62609C

    #62609C

    oklch(51.7% 0.094 284.1)

Open the analogous palette in the generator

Split complementary

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

  • #406A9D

    #406A9D

    oklch(51.7% 0.094 254.2)

  • #945539

    #945539

    oklch(51.6% 0.093 44.2)

  • #716A20

    #716A20

    oklch(51.6% 0.094 103.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406A9D

    #406A9D

    oklch(51.7% 0.094 254.2)

  • #965057

    #965057

    oklch(51.7% 0.094 14.5)

  • #51743A

    #51743A

    oklch(51.8% 0.094 134.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406A9D

    #406A9D

    oklch(51.7% 0.094 254.2)

  • #8E5175

    #8E5175

    oklch(51.8% 0.094 344.6)

  • #885F20

    #885F20

    oklch(51.7% 0.094 74.1)

  • #26795A

    #26795A

    oklch(51.8% 0.094 164.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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