#404147
Closest named color: Charcoal Grey (#3C4142). oklch(37.7% 0.01 278.3), rgb(64, 65, 71).
Aa
White text reads best on this color (10.16:1).
About this color
#404147 is a dark close to neutral grey. In OKLCH its lightness is 38%, its chroma 0.010. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.011 away. White text reads best on it, at 10.16:1.
| Hue family | Neutrals |
| Lightness | dark (38%) |
| Chroma | close to neutral grey (0.010) |
| Temperature | neutral |
| Nearest name | Charcoal Grey (#3C4142) |
| Black text | 2.06:1 |
| White text | 10.16:1 |
Values
| HEX | #404147 |
| RGB | rgb(64, 65, 71) |
| HSL | hsl(231, 5%, 26%) |
| OKLCH | oklch(37.7% 0.01 278.3) |
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 #404147 | 10.16:1 | AAA | Lc -97.7 | Preferred for body text |
| Black text on #404147 | 2.06:1 | Fails | Lc 10.3 | Not readable |
| #404147 text on white | 10.16:1 | AAA | Lc 93.6 | Preferred for body text |
| #404147 text on black | 2.06:1 | Fails | Lc -8.9 | 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
#F5F5F6
oklch(97% 0.001 286.4)
-
Step 100
100
#E9EAEB
oklch(93.7% 0.002 247.8)
-
Step 200
200
#D8D9DC
oklch(88.5% 0.004 271.4)
-
Step 300
300
#BFC0C6
oklch(80.9% 0.008 278.6)
-
Step 400
400
#9EA0A8
oklch(70.7% 0.012 274.8)
-
Step 500
500
#878993
oklch(63.2% 0.015 276.9)
-
Step 600
600
#71737E
oklch(55.8% 0.017 277.6)
-
Step 700
700
#5E606A
oklch(49.1% 0.016 276.8)
-
Step 800
800
#4D4E56
oklch(42.6% 0.013 280.1)
-
Step 900
900 (this color)
#404147
oklch(37.7% 0.01 278.3)
-
Step 950
950
#26262A
oklch(27% 0.007 285.9)
#404147 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) | #404247 | 0.003 |
| Deuteranopia (no green cones) | #3F4147 | 0.002 |
| Tritanopia (no blue cones) | #3F4243 | 0.009 |
| Achromatopsia (no color) | #414141 | 0.010 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #404147, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal Grey #3C4142 ΔE 0.011
- Onyx #343A40 ΔE 0.032
- Charcoal #264653 ΔE 0.038
- Dark Grey Blue #29465B ΔE 0.043
- Dark Slate Gray #2F4F4F ΔE 0.046
- Dark Blue Grey #1F3B4D ΔE 0.055
- Dark Teal #014D4E ΔE 0.064
- Gunmetal #293241 ΔE 0.064
Use #404147 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.