#404254

Closest named color: Charcoal Grey (#3C4142). oklch(38.5% 0.031 279.9), rgb(64, 66, 84).

Aa

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

About this color

#404254 is a dark, muted blue. In OKLCH its lightness is 38%, its chroma 0.031 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.032 away. White text reads best on it, at 9.88:1.

Hue familyBlues
Lightnessdark (38%)
Chromamuted (0.031)
Temperaturecool
Nearest nameCharcoal Grey (#3C4142)
Black text2.12:1
White text9.88:1

Values

HEX#404254
RGBrgb(64, 66, 84)
HSLhsl(234, 14%, 29%)
OKLCHoklch(38.5% 0.031 279.9)

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 #404254 9.88:1 AAA Lc -97.1 Preferred for body text
Black text on #404254 2.12:1 Fails Lc 11.0 Not readable
#404254 text on white 9.88:1 AAA Lc 92.9 Preferred for body text
#404254 text on black 2.12:1 Fails Lc -9.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 900.

  1. Step 50

    50

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9E9EE

    oklch(93.5% 0.007 286.3)

  3. Step 200

    200

    #D7D8E2

    oklch(88.4% 0.014 281.5)

  4. Step 300

    300

    #BDBFD0

    oklch(80.8% 0.024 280.5)

  5. Step 400

    400

    #9B9FB8

    oklch(70.8% 0.037 278.2)

  6. Step 500

    500

    #8387A6

    oklch(63.1% 0.047 279.2)

  7. Step 600

    600

    #6D7091

    oklch(55.5% 0.051 280.5)

  8. Step 700

    700

    #5B5E7C

    oklch(49.1% 0.048 280)

  9. Step 800

    800

    #4A4D65

    oklch(42.7% 0.04 279)

  10. Step 900

    900 (this color)

    #404254

    oklch(38.5% 0.031 279.9)

  11. Step 950

    950

    #242630

    oklch(27.1% 0.019 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#404254 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)#3D44550.007
Deuteranopia (no green cones)#3C42540.006
Tritanopia (no blue cones)#3B45480.027
Achromatopsia (no color)#4343430.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #404254

    #404254

    oklch(38.5% 0.031 279.9)

  • #474431

    #474431

    oklch(38.4% 0.031 100.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404254

    #404254

    oklch(38.5% 0.031 279.9)

  • #374554

    #374554

    oklch(38.4% 0.031 250.4)

  • #493F50

    #493F50

    oklch(38.5% 0.031 311.3)

Open the analogous palette in the generator

Split complementary

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

  • #404254

    #404254

    oklch(38.5% 0.031 279.9)

  • #4E4132

    #4E4132

    oklch(38.4% 0.03 70.7)

  • #3E4736

    #3E4736

    oklch(38.4% 0.03 130.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404254

    #404254

    oklch(38.5% 0.031 279.9)

  • #523E37

    #523E37

    oklch(38.4% 0.031 40.2)

  • #35493E

    #35493E

    oklch(38.5% 0.031 160.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404254

    #404254

    oklch(38.5% 0.031 279.9)

  • #533D40

    #533D40

    oklch(38.5% 0.031 9.5)

  • #474431

    #474431

    oklch(38.4% 0.031 100.1)

  • #304947

    #304947

    oklch(38.4% 0.031 189.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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