#406EA7

Closest named color: Flat Blue (#3C73A8). oklch(53.2% 0.104 254.7), rgb(64, 110, 167).

Aa

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

About this color

#406EA7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.104 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.014 away. White text reads best on it, at 5.24:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest nameFlat Blue (#3C73A8)
Black text4.00:1
White text5.24:1

Values

HEX#406EA7
RGBrgb(64, 110, 167)
HSLhsl(213, 45%, 45%)
OKLCHoklch(53.2% 0.104 254.7)

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 #406EA7 5.24:1 AA Lc -81.2 Fine for body text
Black text on #406EA7 4.00:1 AA large text Lc 28.2 Dividers and decoration only
#406EA7 text on white 5.24:1 AA Lc 75.8 Fine for body text
#406EA7 text on black 4.00:1 AA large text Lc -25.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

    #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

    #ADC3DF

    oklch(81% 0.046 254.5)

  5. Step 400

    400

    #81A3CF

    oklch(70.7% 0.075 255.1)

  6. Step 500

    500

    #618CC2

    oklch(63.1% 0.095 254.6)

  7. Step 600

    600 (this color)

    #406EA7

    oklch(53.2% 0.104 254.7)

  8. Step 700

    700

    #386296

    oklch(49% 0.096 254.7)

  9. Step 800

    800

    #2F507A

    oklch(42.6% 0.08 255.1)

  10. Step 900

    900

    #2A4362

    oklch(37.8% 0.062 254.4)

  11. Step 950

    950

    #192739

    oklch(26.9% 0.039 255.1)

Export this scale for Tailwind in the Tailwind colors tool

#406EA7 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)#5672A90.029
Deuteranopia (no green cones)#4868A60.018
Tritanopia (no blue cones)#007B830.086
Achromatopsia (no color)#6C6C6C0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #406EA7

    #406EA7

    oklch(53.2% 0.104 254.7)

  • #8F6217

    #8F6217

    oklch(53.1% 0.103 74.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406EA7

    #406EA7

    oklch(53.2% 0.104 254.7)

  • #007898

    #007898

    oklch(53.3% 0.101 224.8)

  • #6663A6

    #6663A6

    oklch(53.2% 0.104 284.3)

Open the analogous palette in the generator

Split complementary

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

  • #406EA7

    #406EA7

    oklch(53.2% 0.104 254.7)

  • #9D5737

    #9D5737

    oklch(53.2% 0.103 44.5)

  • #766F18

    #766F18

    oklch(53.2% 0.103 104.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406EA7

    #406EA7

    oklch(53.2% 0.104 254.7)

  • #9F5159

    #9F5159

    oklch(53.2% 0.103 14.8)

  • #527939

    #527939

    oklch(53.1% 0.103 134.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406EA7

    #406EA7

    oklch(53.2% 0.104 254.7)

  • #96527A

    #96527A

    oklch(53.2% 0.104 345)

  • #8F6217

    #8F6217

    oklch(53.1% 0.103 74.5)

  • #1B7F5D

    #1B7F5D

    oklch(53.2% 0.104 164.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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