#404D5B
Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.4% 0.029 250.4), rgb(64, 77, 91).
Aa
White text reads best on this color (8.63:1).
About this color
#404D5B is a dark close to neutral grey. In OKLCH its lightness is 41%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.034 away. White text reads best on it, at 8.63:1.
| Hue family | Neutrals |
| Lightness | dark (41%) |
| Chroma | close to neutral grey (0.029) |
| Temperature | neutral |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.43:1 |
| White text | 8.63:1 |
Values
| HEX | #404D5B |
| RGB | rgb(64, 77, 91) |
| HSL | hsl(211, 17%, 30%) |
| OKLCH | oklch(41.4% 0.029 250.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 #404D5B | 8.63:1 | AAA | Lc -94.2 | Preferred for body text |
| Black text on #404D5B | 2.43:1 | Fails | Lc 14.3 | Not readable |
| #404D5B text on white | 8.63:1 | AAA | Lc 89.7 | Fine for body text |
| #404D5B text on black | 2.43:1 | Fails | Lc -12.6 | 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
#F4F5F7
oklch(97% 0.003 264.5)
-
Step 100
100
#E7EAED
oklch(93.6% 0.005 247.9)
-
Step 200
200
#D5DADF
oklch(88.6% 0.009 247.9)
-
Step 300
300
#B9C2CB
oklch(81% 0.016 248)
-
Step 400
400
#94A2B1
oklch(70.6% 0.027 250.1)
-
Step 500
500
#7A8B9E
oklch(63% 0.035 251.3)
-
Step 600
600
#637589
oklch(55.5% 0.038 251.2)
-
Step 700
700
#526374
oklch(49.2% 0.034 248.5)
-
Step 800
800 (this color)
#404D5B
oklch(41.4% 0.029 250.4)
-
Step 900
900
#39434D
oklch(37.8% 0.022 248.4)
-
Step 950
950
#21272D
oklch(26.9% 0.014 248.4)
#404D5B 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) | #484D5C | 0.012 |
| Deuteranopia (no green cones) | #454A5B | 0.011 |
| Tritanopia (no blue cones) | #385052 | 0.024 |
| Achromatopsia (no color) | #4C4C4C | 0.029 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #404D5B
#404D5B
oklch(41.4% 0.029 250.4)
- #56493B
#56493B
oklch(41.4% 0.028 69)
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 #404D5B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.034
- Dark Grey Blue #29465B ΔE 0.040
- Charcoal #264653 ΔE 0.045
- Charcoal Grey #3C4142 ΔE 0.050
- YInMn Blue #415A77 ΔE 0.053
- Deep Teal #00555A ΔE 0.055
- Dusty Grape #545775 ΔE 0.059
- Dark Teal #014D4E ΔE 0.063
Use #404D5B 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.