#405172

Closest named color: YInMn Blue (#415A77). oklch(43.5% 0.059 263.2), rgb(64, 81, 114).

Aa

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

About this color

#405172 is a dark, muted blue. In OKLCH its lightness is 44%, its chroma 0.059 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.027 away. White text reads best on it, at 7.96:1.

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.059)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.63:1
White text7.96:1

Values

HEX#405172
RGBrgb(64, 81, 114)
HSLhsl(220, 28%, 35%)
OKLCHoklch(43.5% 0.059 263.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 #405172 7.96:1 AAA Lc -92.2 Preferred for body text
Black text on #405172 2.63:1 Fails Lc 16.4 Dividers and decoration only
#405172 text on white 7.96:1 AAA Lc 87.6 Fine for body text
#405172 text on black 2.63:1 Fails Lc -14.6 Not readable

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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF1

    oklch(93.6% 0.01 261.8)

  3. Step 200

    200

    #D3D9E6

    oklch(88.5% 0.019 266)

  4. Step 300

    300

    #B5C1D8

    oklch(80.9% 0.035 263.5)

  5. Step 400

    400

    #8FA1C4

    oklch(70.7% 0.055 263.6)

  6. Step 500

    500

    #738AB5

    oklch(63.2% 0.07 262.7)

  7. Step 600

    600

    #5C73A1

    oklch(55.6% 0.077 263.6)

  8. Step 700

    700

    #4B6089

    oklch(49% 0.071 263.2)

  9. Step 800

    800 (this color)

    #405172

    oklch(43.5% 0.059 263.2)

  10. Step 900

    900

    #35425A

    oklch(37.8% 0.045 262.4)

  11. Step 950

    950

    #1F2635

    oklch(26.9% 0.03 265.1)

Export this scale for Tailwind in the Tailwind colors tool

#405172 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)#4553730.010
Deuteranopia (no green cones)#404F710.006
Tritanopia (no blue cones)#2F585D0.052
Achromatopsia (no color)#5151510.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #405172

    #405172

    oklch(43.5% 0.059 263.2)

  • #614E29

    #614E29

    oklch(43.5% 0.059 82.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405172

    #405172

    oklch(43.5% 0.059 263.2)

  • #2D576D

    #2D576D

    oklch(43.6% 0.059 233.2)

  • #524B6F

    #524B6F

    oklch(43.5% 0.059 292.7)

Open the analogous palette in the generator

Split complementary

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

  • #405172

    #405172

    oklch(43.5% 0.059 263.2)

  • #6B4832

    #6B4832

    oklch(43.5% 0.059 52.7)

  • #51552D

    #51552D

    oklch(43.6% 0.06 113.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405172

    #405172

    oklch(43.5% 0.059 263.2)

  • #6E4442

    #6E4442

    oklch(43.5% 0.059 22.7)

  • #3D5A3C

    #3D5A3C

    oklch(43.6% 0.06 143.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405172

    #405172

    oklch(43.5% 0.059 263.2)

  • #6B4354

    #6B4354

    oklch(43.5% 0.06 352.8)

  • #614E29

    #614E29

    oklch(43.5% 0.059 82.8)

  • #2A5C4E

    #2A5C4E

    oklch(43.6% 0.059 172.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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