#404864

Closest named color: Dark Grey Blue (#29465B). oklch(40.7% 0.048 271.8), rgb(64, 72, 100).

Aa

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

About this color

#404864 is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.048 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.037 away. White text reads best on it, at 9.01:1.

Hue familyBlues
Lightnessdark (41%)
Chromamuted (0.048)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.32:1
White text9.01:1

Values

HEX#404864
RGBrgb(64, 72, 100)
HSLhsl(227, 22%, 32%)
OKLCHoklch(40.7% 0.048 271.8)

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 #404864 9.01:1 AAA Lc -95.1 Preferred for body text
Black text on #404864 2.32:1 Fails Lc 13.3 Not readable
#404864 text on white 9.01:1 AAA Lc 90.7 Preferred for body text
#404864 text on black 2.32:1 Fails Lc -11.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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E8EAEF

    oklch(93.7% 0.007 268.5)

  3. Step 200

    200

    #D5D9E4

    oklch(88.5% 0.016 270)

  4. Step 300

    300

    #BAC0D3

    oklch(80.9% 0.028 271.8)

  5. Step 400

    400

    #969FBE

    oklch(70.6% 0.046 272.4)

  6. Step 500

    500

    #7D88AD

    oklch(63.1% 0.057 271.8)

  7. Step 600

    600

    #667199

    oklch(55.5% 0.064 272.3)

  8. Step 700

    700

    #555F82

    oklch(49.1% 0.058 271.8)

  9. Step 800

    800 (this color)

    #404864

    oklch(40.7% 0.048 271.8)

  10. Step 900

    900

    #3A4156

    oklch(37.8% 0.037 270.2)

  11. Step 950

    950

    #222632

    oklch(27% 0.023 270.4)

Export this scale for Tailwind in the Tailwind colors tool

#404864 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)#3F4B650.009
Deuteranopia (no green cones)#3C48630.006
Tritanopia (no blue cones)#364D520.042
Achromatopsia (no color)#4949490.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #404864

    #404864

    oklch(40.7% 0.048 271.8)

  • #53492A

    #53492A

    oklch(40.7% 0.049 92.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404864

    #404864

    oklch(40.7% 0.048 271.8)

  • #314D62

    #314D62

    oklch(40.7% 0.049 241.8)

  • #4E4360

    #4E4360

    oklch(40.6% 0.05 301.6)

Open the analogous palette in the generator

Split complementary

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

  • #404864

    #404864

    oklch(40.7% 0.048 271.8)

  • #5D442E

    #5D442E

    oklch(40.8% 0.048 62.2)

  • #454E30

    #454E30

    oklch(40.7% 0.049 122.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404864

    #404864

    oklch(40.7% 0.048 271.8)

  • #614039

    #614039

    oklch(40.7% 0.048 32.4)

  • #35513C

    #35513C

    oklch(40.6% 0.049 151.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404864

    #404864

    oklch(40.7% 0.048 271.8)

  • #603E47

    #603E47

    oklch(40.6% 0.049 2.2)

  • #53492A

    #53492A

    oklch(40.7% 0.049 92.2)

  • #29524B

    #29524B

    oklch(40.6% 0.048 181.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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