#405170

Closest named color: YInMn Blue (#415A77). oklch(43.4% 0.056 262.1), rgb(64, 81, 112).

Aa

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

About this color

#405170 is a dark, muted blue. In OKLCH its lightness is 43%, its chroma 0.056 and its hue 262°. 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.98:1.

Hue familyBlues
Lightnessdark (43%)
Chromamuted (0.056)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.62:1
White text7.98:1

Values

HEX#405170
RGBrgb(64, 81, 112)
HSLhsl(219, 27%, 35%)
OKLCHoklch(43.4% 0.056 262.1)

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 #405170 7.98:1 AAA Lc -92.3 Preferred for body text
Black text on #405170 2.62:1 Fails Lc 16.4 Dividers and decoration only
#405170 text on white 7.98:1 AAA Lc 87.6 Fine for body text
#405170 text on black 2.62:1 Fails Lc -14.5 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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E6EAF0

    oklch(93.6% 0.009 258.3)

  3. Step 200

    200

    #D3D9E6

    oklch(88.5% 0.019 266)

  4. Step 300

    300

    #B5C1D6

    oklch(80.8% 0.032 261.7)

  5. Step 400

    400

    #8FA1C2

    oklch(70.6% 0.053 262.5)

  6. Step 500

    500

    #738AB3

    oklch(63.1% 0.068 261.8)

  7. Step 600

    600

    #5C739E

    oklch(55.5% 0.073 262.5)

  8. Step 700

    700

    #4C6187

    oklch(49.2% 0.066 261.9)

  9. Step 800

    800 (this color)

    #405170

    oklch(43.4% 0.056 262.1)

  10. Step 900

    900

    #354259

    oklch(37.8% 0.043 261.6)

  11. Step 950

    950

    #1F2734

    oklch(27.1% 0.027 260)

Export this scale for Tailwind in the Tailwind colors tool

#405170 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)#4653710.011
Deuteranopia (no green cones)#414F6F0.006
Tritanopia (no blue cones)#30585C0.050
Achromatopsia (no color)#5151510.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #405170

    #405170

    oklch(43.4% 0.056 262.1)

  • #604E2C

    #604E2C

    oklch(43.4% 0.055 82.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405170

    #405170

    oklch(43.4% 0.056 262.1)

  • #2F566B

    #2F566B

    oklch(43.4% 0.056 233.7)

  • #514B6D

    #514B6D

    oklch(43.3% 0.056 292)

Open the analogous palette in the generator

Split complementary

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

  • #405170

    #405170

    oklch(43.4% 0.056 262.1)

  • #6A4834

    #6A4834

    oklch(43.4% 0.056 51.2)

  • #51542F

    #51542F

    oklch(43.3% 0.056 112.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405170

    #405170

    oklch(43.4% 0.056 262.1)

  • #6D4443

    #6D4443

    oklch(43.4% 0.057 21.2)

  • #3F593C

    #3F593C

    oklch(43.4% 0.056 142)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405170

    #405170

    oklch(43.4% 0.056 262.1)

  • #694454

    #694454

    oklch(43.4% 0.056 352.1)

  • #604E2C

    #604E2C

    oklch(43.4% 0.055 82.3)

  • #2D5B4D

    #2D5B4D

    oklch(43.4% 0.056 171.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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