#40424C
Closest named color: Charcoal Grey (#3C4142). oklch(38.1% 0.017 276.6), rgb(64, 66, 76).
Aa
White text reads best on this color (9.99:1).
About this color
#40424C is a dark close to neutral grey. In OKLCH its lightness is 38%, its chroma 0.017. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.019 away. White text reads best on it, at 9.99:1.
| Hue family | Neutrals |
| Lightness | dark (38%) |
| Chroma | close to neutral grey (0.017) |
| Temperature | neutral |
| Nearest name | Charcoal Grey (#3C4142) |
| Black text | 2.10:1 |
| White text | 9.99:1 |
Values
| HEX | #40424C |
| RGB | rgb(64, 66, 76) |
| HSL | hsl(230, 9%, 27%) |
| OKLCH | oklch(38.1% 0.017 276.6) |
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 #40424C | 9.99:1 | AAA | Lc -97.3 | Preferred for body text |
| Black text on #40424C | 2.10:1 | Fails | Lc 10.7 | Not readable |
| #40424C text on white | 9.99:1 | AAA | Lc 93.2 | Preferred for body text |
| #40424C text on black | 2.10:1 | Fails | Lc -9.3 | 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
#F5F5F7
oklch(97.1% 0.003 286.4)
-
Step 100
100
#E9EAEC
oklch(93.7% 0.003 264.5)
-
Step 200
200
#D8D9DE
oklch(88.6% 0.007 277.2)
-
Step 300
300
#BEC0C9
oklch(80.9% 0.013 276.1)
-
Step 400
400
#9DA0AE
oklch(70.8% 0.021 276.2)
-
Step 500
500
#85889A
oklch(63% 0.027 278.1)
-
Step 600
600
#6F7284
oklch(55.6% 0.028 278)
-
Step 700
700
#5C6070
oklch(49.1% 0.026 274.3)
-
Step 800
800
#4C4E5B
oklch(42.7% 0.022 278.5)
-
Step 900
900 (this color)
#40424C
oklch(38.1% 0.017 276.6)
-
Step 950
950
#25262C
oklch(27% 0.011 278.1)
#40424C 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) | #3F434C | 0.003 |
| Deuteranopia (no green cones) | #3F424C | 0.002 |
| Tritanopia (no blue cones) | #3D4445 | 0.016 |
| Achromatopsia (no color) | #424242 | 0.017 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40424C
#40424C
oklch(38.1% 0.017 276.6)
- #454339
#454339
oklch(38.2% 0.017 97.8)
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 #40424C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal Grey #3C4142 ΔE 0.019
- Charcoal #264653 ΔE 0.036
- Onyx #343A40 ΔE 0.037
- Dark Grey Blue #29465B ΔE 0.038
- Dark Slate Gray #2F4F4F ΔE 0.045
- Dark Blue Grey #1F3B4D ΔE 0.055
- Dark Teal #014D4E ΔE 0.064
- Gunmetal #293241 ΔE 0.067
Use #40424C 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.