#474A42
Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.4% 0.014 123.8), rgb(71, 74, 66).
Aa
White text reads best on this color (9.02:1).
About this color
#474A42 is a dark close to neutral grey. In OKLCH its lightness is 40%, its chroma 0.014. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.036 away. White text reads best on it, at 9.02:1.
| Hue family | Neutrals |
| Lightness | dark (40%) |
| Chroma | close to neutral grey (0.014) |
| Temperature | neutral |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.32:1 |
| White text | 9.02:1 |
Values
| HEX | #474A42 |
| RGB | rgb(71, 74, 66) |
| HSL | hsl(83, 6%, 27%) |
| OKLCH | oklch(40.4% 0.014 123.8) |
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 #474A42 | 9.02:1 | AAA | Lc -95.2 | Preferred for body text |
| Black text on #474A42 | 2.32:1 | Fails | Lc 13.2 | Not readable |
| #474A42 text on white | 9.02:1 | AAA | Lc 90.8 | Preferred for body text |
| #474A42 text on black | 2.32:1 | Fails | Lc -11.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 800.
-
Step 50
50
#F5F5F5
oklch(97% 0 0)
-
Step 100
100
#E9EAE8
oklch(93.6% 0.003 128.5)
-
Step 200
200
#D8D9D6
oklch(88.4% 0.004 121.6)
-
Step 300
300
#BFC1BC
oklch(80.8% 0.007 124.5)
-
Step 400
400
#9FA299
oklch(70.7% 0.013 121.8)
-
Step 500
500
#878B81
oklch(63% 0.015 124.7)
-
Step 600
600
#71756A
oklch(55.6% 0.017 123.3)
-
Step 700
700
#5F6258
oklch(49% 0.016 120.6)
-
Step 800
800 (this color)
#474A42
oklch(40.4% 0.014 123.8)
-
Step 900
900
#40433C
oklch(37.8% 0.012 126)
-
Step 950
950
#262723
oklch(27% 0.007 118.3)
#474A42 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) | #4B4942 | 0.007 |
| Deuteranopia (no green cones) | #4B4942 | 0.007 |
| Tritanopia (no blue cones) | #484948 | 0.012 |
| Achromatopsia (no color) | #494949 | 0.014 |
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 #474A42, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.036
- Charcoal Grey #3C4142 ΔE 0.036
- Charcoal #264653 ΔE 0.056
- Dark Grey Blue #29465B ΔE 0.062
- Onyx #343A40 ΔE 0.063
- Dark Blue Green #005249 ΔE 0.065
- Dark Teal #014D4E ΔE 0.066
- Mud Brown #60460F ΔE 0.068
Use #474A42 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.