#404E71

Closest named color: YInMn Blue (#415A77). oklch(42.7% 0.061 267.1), rgb(64, 78, 113).

Aa

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

About this color

#404E71 is a dark, muted blue. In OKLCH its lightness is 43%, its chroma 0.061 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.036 away. White text reads best on it, at 8.24:1.

Hue familyBlues
Lightnessdark (43%)
Chromamuted (0.061)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.54:1
White text8.24:1

Values

HEX#404E71
RGBrgb(64, 78, 113)
HSLhsl(223, 28%, 35%)
OKLCHoklch(42.7% 0.061 267.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 #404E71 8.24:1 AAA Lc -93.1 Preferred for body text
Black text on #404E71 2.54:1 Fails Lc 15.5 Dividers and decoration only
#404E71 text on white 8.24:1 AAA Lc 88.5 Fine for body text
#404E71 text on black 2.54:1 Fails Lc -13.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

    #E7EAF1

    oklch(93.7% 0.01 267.4)

  3. Step 200

    200

    #D3D9E7

    oklch(88.5% 0.02 267.3)

  4. Step 300

    300

    #B6C0D8

    oklch(80.8% 0.036 267.6)

  5. Step 400

    400

    #91A0C5

    oklch(70.7% 0.057 267.7)

  6. Step 500

    500

    #7688B6

    oklch(63% 0.073 267.8)

  7. Step 600

    600

    #5E72A2

    oklch(55.6% 0.079 266.5)

  8. Step 700

    700

    #4E5F8B

    oklch(49.1% 0.074 267.5)

  9. Step 800

    800 (this color)

    #404E71

    oklch(42.7% 0.061 267.1)

  10. Step 900

    900

    #36415B

    oklch(37.7% 0.047 266.5)

  11. Step 950

    950

    #202635

    oklch(27% 0.029 267.5)

Export this scale for Tailwind in the Tailwind colors tool

#404E71 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)#4251730.010
Deuteranopia (no green cones)#3D4D700.006
Tritanopia (no blue cones)#30555A0.055
Achromatopsia (no color)#4F4F4F0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #404E71

    #404E71

    oklch(42.7% 0.061 267.1)

  • #5E4D25

    #5E4D25

    oklch(42.8% 0.061 86.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404E71

    #404E71

    oklch(42.7% 0.061 267.1)

  • #2C546C

    #2C546C

    oklch(42.7% 0.06 236.8)

  • #53486D

    #53486D

    oklch(42.8% 0.061 297.4)

Open the analogous palette in the generator

Split complementary

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

  • #404E71

    #404E71

    oklch(42.7% 0.061 267.1)

  • #69462D

    #69462D

    oklch(42.8% 0.061 55.8)

  • #4D542B

    #4D542B

    oklch(42.9% 0.062 117)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404E71

    #404E71

    oklch(42.7% 0.061 267.1)

  • #6D423D

    #6D423D

    oklch(42.8% 0.061 27.1)

  • #38583B

    #38583B

    oklch(42.7% 0.061 146.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404E71

    #404E71

    oklch(42.7% 0.061 267.1)

  • #6A414F

    #6A414F

    oklch(42.8% 0.06 357.9)

  • #5E4D25

    #5E4D25

    oklch(42.8% 0.061 86.7)

  • #235A4E

    #235A4E

    oklch(42.7% 0.062 176.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404E71 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.