#404854
Closest named color: Charcoal Grey (#3C4142). oklch(39.9% 0.023 258.4), rgb(64, 72, 84).
Aa
White text reads best on this color (9.23:1).
About this color
#404854 is a dark close to neutral grey. In OKLCH its lightness is 40%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.034 away. White text reads best on it, at 9.23:1.
| Hue family | Neutrals |
| Lightness | dark (40%) |
| Chroma | close to neutral grey (0.023) |
| Temperature | neutral |
| Nearest name | Charcoal Grey (#3C4142) |
| Black text | 2.27:1 |
| White text | 9.23:1 |
Values
| HEX | #404854 |
| RGB | rgb(64, 72, 84) |
| HSL | hsl(216, 14%, 29%) |
| OKLCH | oklch(39.9% 0.023 258.4) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #404854 | 9.23:1 | AAA | Lc -95.7 | Preferred for body text |
| Black text on #404854 | 2.27:1 | Fails | Lc 12.6 | Not readable |
| #404854 text on white | 9.23:1 | AAA | Lc 91.3 | Preferred for body text |
| #404854 text on black | 2.27:1 | Fails | Lc -11.0 | 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.
-
Step 50
50
#F4F5F7
oklch(97% 0.003 264.5)
-
Step 100
100
#E8EAED
oklch(93.6% 0.005 258.3)
-
Step 200
200
#D5D9DF
oklch(88.4% 0.009 258.3)
-
Step 300
300
#BAC1CC
oklch(80.9% 0.017 259.4)
-
Step 400
400
#96A1B2
oklch(70.6% 0.028 259)
-
Step 500
500
#7D8A9F
oklch(63% 0.035 260)
-
Step 600
600
#66748A
oklch(55.5% 0.038 259.4)
-
Step 700
700
#556275
oklch(49.2% 0.035 257.8)
-
Step 800
800
#45505F
oklch(42.7% 0.029 256.2)
-
Step 900
900 (this color)
#404854
oklch(39.9% 0.023 258.4)
-
Step 950
950
#22272E
oklch(27.1% 0.015 256.8)
#404854 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #444855 | 0.007 |
| Deuteranopia (no green cones) | #424754 | 0.004 |
| Tritanopia (no blue cones) | #3B4A4C | 0.019 |
| Achromatopsia (no color) | #474747 | 0.023 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #404854
#404854
oklch(39.9% 0.023 258.4)
- #4E463A
#4E463A
oklch(39.8% 0.022 78)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #404854, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal Grey #3C4142 ΔE 0.034
- Dark Slate Gray #2F4F4F ΔE 0.034
- Dark Grey Blue #29465B ΔE 0.034
- Charcoal #264653 ΔE 0.036
- Onyx #343A40 ΔE 0.055
- Dark Teal #014D4E ΔE 0.060
- Deep Teal #00555A ΔE 0.061
- Dark Blue Grey #1F3B4D ΔE 0.066
Use #404854 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.