#42404C
Closest named color: Charcoal Grey (#3C4142). oklch(37.8% 0.02 293), rgb(66, 64, 76).
Aa
White text reads best on this color (10.14:1).
About this color
#42404C is a dark close to neutral grey. In OKLCH its lightness is 38%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.022 away. White text reads best on it, at 10.14:1.
| Hue family | Neutrals |
| Lightness | dark (38%) |
| Chroma | close to neutral grey (0.020) |
| Temperature | neutral |
| Nearest name | Charcoal Grey (#3C4142) |
| Black text | 2.06:1 |
| White text | 10.14:1 |
Values
| HEX | #42404C |
| RGB | rgb(66, 64, 76) |
| HSL | hsl(250, 9%, 27%) |
| OKLCH | oklch(37.8% 0.02 293) |
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 #42404C | 10.14:1 | AAA | Lc -97.7 | Preferred for body text |
| Black text on #42404C | 2.06:1 | Fails | Lc 10.3 | Not readable |
| #42404C text on white | 10.14:1 | AAA | Lc 93.6 | Preferred for body text |
| #42404C 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
#F5F5F7
oklch(97.1% 0.003 286.4)
-
Step 100
100
#EAE9ED
oklch(93.6% 0.005 297.7)
-
Step 200
200
#D9D8DE
oklch(88.5% 0.008 293.9)
-
Step 300
300
#C1BFCA
oklch(81% 0.015 294.4)
-
Step 400
400
#A19EAF
oklch(70.7% 0.025 293.9)
-
Step 500
500
#8A869B
oklch(63.1% 0.031 294.2)
-
Step 600
600
#747086
oklch(55.7% 0.034 293.6)
-
Step 700
700
#615E71
oklch(49.2% 0.03 292.5)
-
Step 800
800
#4F4D5C
oklch(42.8% 0.025 291.4)
-
Step 900
900 (this color)
#42404C
oklch(37.8% 0.02 293)
-
Step 950
950
#26252C
oklch(26.8% 0.013 292.1)
#42404C 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) | #3E424D | 0.008 |
| Deuteranopia (no green cones) | #3E414C | 0.007 |
| Tritanopia (no blue cones) | #404244 | 0.018 |
| Achromatopsia (no color) | #414141 | 0.021 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #42404C
#42404C
oklch(37.8% 0.02 293)
- #424337
#424337
oklch(37.8% 0.02 111.2)
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 #42404C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal Grey #3C4142 ΔE 0.022
- Onyx #343A40 ΔE 0.036
- Charcoal #264653 ΔE 0.040
- Dark Grey Blue #29465B ΔE 0.041
- Dark Slate Gray #2F4F4F ΔE 0.052
- Dark Blue Grey #1F3B4D ΔE 0.055
- Gunmetal #293241 ΔE 0.065
- Purple Brown #673A3F ΔE 0.069
Use #42404C 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.