#405174

Closest named color: YInMn Blue (#415A77). oklch(43.6% 0.062 264.1), rgb(64, 81, 116).

Aa

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

About this color

#405174 is a dark, muted blue. In OKLCH its lightness is 44%, its chroma 0.062 and its hue 264°. 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.93:1.

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.062)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.64:1
White text7.93:1

Values

HEX#405174
RGBrgb(64, 81, 116)
HSLhsl(220, 29%, 35%)
OKLCHoklch(43.6% 0.062 264.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 #405174 7.93:1 AAA Lc -92.2 Preferred for body text
Black text on #405174 2.64:1 Fails Lc 16.5 Dividers and decoration only
#405174 text on white 7.93:1 AAA Lc 87.5 Fine for body text
#405174 text on black 2.64:1 Fails Lc -14.7 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

    #D2D9E7

    oklch(88.4% 0.021 264.5)

  4. Step 300

    300

    #B5C1D9

    oklch(80.9% 0.036 264.3)

  5. Step 400

    400

    #8EA1C6

    oklch(70.7% 0.058 263.6)

  6. Step 500

    500

    #7389B7

    oklch(63.1% 0.074 264.6)

  7. Step 600

    600

    #5B73A3

    oklch(55.7% 0.08 263.6)

  8. Step 700

    700

    #4B608C

    oklch(49.1% 0.076 264.3)

  9. Step 800

    800 (this color)

    #405174

    oklch(43.6% 0.062 264.1)

  10. Step 900

    900

    #34415C

    oklch(37.6% 0.05 264.3)

  11. Step 950

    950

    #1F2636

    oklch(26.9% 0.032 266.1)

Export this scale for Tailwind in the Tailwind colors tool

#405174 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)#4454760.011
Deuteranopia (no green cones)#3F4F730.006
Tritanopia (no blue cones)#2E585D0.055
Achromatopsia (no color)#5151510.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #405174

    #405174

    oklch(43.6% 0.062 264.1)

  • #624F27

    #624F27

    oklch(43.8% 0.062 84.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405174

    #405174

    oklch(43.6% 0.062 264.1)

  • #2B576F

    #2B576F

    oklch(43.6% 0.063 234.6)

  • #534B70

    #534B70

    oklch(43.6% 0.061 293.6)

Open the analogous palette in the generator

Split complementary

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

  • #405174

    #405174

    oklch(43.6% 0.062 264.1)

  • #6C4830

    #6C4830

    oklch(43.6% 0.061 54.1)

  • #51552C

    #51552C

    oklch(43.5% 0.061 113.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405174

    #405174

    oklch(43.6% 0.062 264.1)

  • #704441

    #704441

    oklch(43.7% 0.062 24.1)

  • #3C5B3B

    #3C5B3B

    oklch(43.8% 0.063 143.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405174

    #405174

    oklch(43.6% 0.062 264.1)

  • #6C4354

    #6C4354

    oklch(43.6% 0.061 353.5)

  • #624F27

    #624F27

    oklch(43.8% 0.062 84.3)

  • #275D4F

    #275D4F

    oklch(43.7% 0.062 173.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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