#405D7B

Closest named color: YInMn Blue (#415A77). oklch(46.8% 0.06 250), rgb(64, 93, 123).

Aa

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

About this color

#405D7B is a medium-dark, muted blue. In OKLCH its lightness is 47%, its chroma 0.060 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.010 away. White text reads best on it, at 6.84:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamuted (0.060)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text3.06:1
White text6.84:1

Values

HEX#405D7B
RGBrgb(64, 93, 123)
HSLhsl(211, 32%, 37%)
OKLCHoklch(46.8% 0.06 250)

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 #405D7B 6.84:1 AA Lc -88.5 Fine for body text
Black text on #405D7B 3.06:1 AA large text Lc 20.5 Dividers and decoration only
#405D7B text on white 6.84:1 AA Lc 83.6 Fine for body text
#405D7B text on black 3.06:1 AA large text Lc -18.4 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E6EAEF

    oklch(93.5% 0.008 253.9)

  3. Step 200

    200

    #D1DAE4

    oklch(88.4% 0.017 250.9)

  4. Step 300

    300

    #B3C3D3

    oklch(81% 0.029 248.2)

  5. Step 400

    400

    #8BA3BD

    oklch(70.6% 0.047 250.6)

  6. Step 500

    500

    #6E8DAD

    oklch(63.2% 0.06 249.6)

  7. Step 600

    600

    #567698

    oklch(55.5% 0.065 250.5)

  8. Step 700

    700 (this color)

    #405D7B

    oklch(46.8% 0.06 250)

  9. Step 800

    800

    #3A5169

    oklch(42.6% 0.049 250.1)

  10. Step 900

    900

    #324356

    oklch(37.7% 0.039 251.6)

  11. Step 950

    950

    #1D2732

    oklch(26.8% 0.025 251.2)

Export this scale for Tailwind in the Tailwind colors tool

#405D7B 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)#515E7C0.023
Deuteranopia (no green cones)#4A587A0.018
Tritanopia (no blue cones)#2764670.052
Achromatopsia (no color)#5B5B5B0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #405D7B

    #405D7B

    oklch(46.8% 0.06 250)

  • #705434

    #705434

    oklch(46.7% 0.06 69.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405D7B

    #405D7B

    oklch(46.8% 0.06 250)

  • #2F6272

    #2F6272

    oklch(46.8% 0.06 220.9)

  • #54577C

    #54577C

    oklch(47% 0.06 280.2)

Open the analogous palette in the generator

Split complementary

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

  • #405D7B

    #405D7B

    oklch(46.8% 0.06 250)

  • #784F41

    #784F41

    oklch(46.9% 0.06 39.6)

  • #625B32

    #625B32

    oklch(46.8% 0.06 99.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405D7B

    #405D7B

    oklch(46.8% 0.06 250)

  • #784C53

    #784C53

    oklch(46.8% 0.06 9.3)

  • #4F613D

    #4F613D

    oklch(46.8% 0.06 130)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405D7B

    #405D7B

    oklch(46.8% 0.06 250)

  • #714D65

    #714D65

    oklch(46.8% 0.06 339.7)

  • #705434

    #705434

    oklch(46.7% 0.06 69.2)

  • #3B654F

    #3B654F

    oklch(46.9% 0.06 160.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #405D7B 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.