#405872

Closest named color: YInMn Blue (#415A77). oklch(45.2% 0.052 251), rgb(64, 88, 114).

Aa

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

About this color

#405872 is a medium-dark, muted blue. In OKLCH its lightness is 45%, its chroma 0.052 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.009 away. White text reads best on it, at 7.35:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromamuted (0.052)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.85:1
White text7.35:1

Values

HEX#405872
RGBrgb(64, 88, 114)
HSLhsl(211, 28%, 35%)
OKLCHoklch(45.2% 0.052 251)

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 #405872 7.35:1 AAA Lc -90.4 Preferred for body text
Black text on #405872 2.85:1 Fails Lc 18.5 Dividers and decoration only
#405872 text on white 7.35:1 AAA Lc 85.5 Fine for body text
#405872 text on black 2.85:1 Fails Lc -16.5 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 800.

  1. Step 50

    50

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E6EAF0

    oklch(93.6% 0.009 258.3)

  3. Step 200

    200

    #D1DAE4

    oklch(88.4% 0.017 250.9)

  4. Step 300

    300

    #B3C2D4

    oklch(80.8% 0.03 253)

  5. Step 400

    400

    #8BA3BE

    oklch(70.6% 0.048 251.5)

  6. Step 500

    500

    #6E8DAE

    oklch(63.2% 0.061 250.4)

  7. Step 600

    600

    #55769A

    oklch(55.5% 0.068 251.2)

  8. Step 700

    700

    #456383

    oklch(49% 0.063 250.8)

  9. Step 800

    800 (this color)

    #405872

    oklch(45.2% 0.052 251)

  10. Step 900

    900

    #314357

    oklch(37.6% 0.041 251.6)

  11. Step 950

    950

    #1D2733

    oklch(26.9% 0.027 253.3)

Export this scale for Tailwind in the Tailwind colors tool

#405872 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)#4E59730.020
Deuteranopia (no green cones)#4854710.015
Tritanopia (no blue cones)#2E5E610.044
Achromatopsia (no color)#5656560.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #405872

    #405872

    oklch(45.2% 0.052 251)

  • #685135

    #685135

    oklch(45.2% 0.052 71.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405872

    #405872

    oklch(45.2% 0.052 251)

  • #335D6A

    #335D6A

    oklch(45.3% 0.051 220)

  • #505372

    #505372

    oklch(45.2% 0.051 279.9)

Open the analogous palette in the generator

Split complementary

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

  • #405872

    #405872

    oklch(45.2% 0.052 251)

  • #6F4C3F

    #6F4C3F

    oklch(45.2% 0.052 41.2)

  • #5C5734

    #5C5734

    oklch(45.2% 0.052 101.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405872

    #405872

    oklch(45.2% 0.052 251)

  • #704A4F

    #704A4F

    oklch(45.3% 0.052 10.7)

  • #4C5C3D

    #4C5C3D

    oklch(45.2% 0.052 130.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405872

    #405872

    oklch(45.2% 0.052 251)

  • #6A4A5E

    #6A4A5E

    oklch(45.1% 0.052 341.5)

  • #685135

    #685135

    oklch(45.2% 0.052 71.4)

  • #3B5F4C

    #3B5F4C

    oklch(45.2% 0.052 160.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #405872 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.