#404D5A
Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.4% 0.027 248.5), rgb(64, 77, 90).
Aa
White text reads best on this color (8.65:1).
About this color
#404D5A is a dark close to neutral grey. In OKLCH its lightness is 41%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.032 away. White text reads best on it, at 8.65:1.
| Hue family | Neutrals |
| Lightness | dark (41%) |
| Chroma | close to neutral grey (0.027) |
| Temperature | neutral |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.42:1 |
| White text | 8.65:1 |
Values
| HEX | #404D5A |
| RGB | rgb(64, 77, 90) |
| HSL | hsl(210, 17%, 30%) |
| OKLCH | oklch(41.4% 0.027 248.5) |
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 #404D5A | 8.65:1 | AAA | Lc -94.2 | Preferred for body text |
| Black text on #404D5A | 2.42:1 | Fails | Lc 14.3 | Not readable |
| #404D5A text on white | 8.65:1 | AAA | Lc 89.7 | Fine for body text |
| #404D5A text on black | 2.42: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
#95A2B0
oklch(70.6% 0.025 250.2)
-
Step 500
500
#7A8C9D
oklch(63.2% 0.033 246.8)
-
Step 600
600
#637688
oklch(55.7% 0.036 247)
-
Step 700
700
#526373
oklch(49.2% 0.033 246.9)
-
Step 800
800 (this color)
#404D5A
oklch(41.4% 0.027 248.5)
-
Step 900
900
#39434D
oklch(37.8% 0.022 248.4)
-
Step 950
950
#21272D
oklch(26.9% 0.014 248.4)
#404D5A 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) | #484D5B | 0.012 |
| Deuteranopia (no green cones) | #454A5A | 0.011 |
| Tritanopia (no blue cones) | #395051 | 0.023 |
| Achromatopsia (no color) | #4C4C4C | 0.028 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #404D5A
#404D5A
oklch(41.4% 0.027 248.5)
- #56493C
#56493C
oklch(41.5% 0.027 67)
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 #404D5A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.032
- Dark Grey Blue #29465B ΔE 0.040
- Charcoal #264653 ΔE 0.044
- Charcoal Grey #3C4142 ΔE 0.048
- YInMn Blue #415A77 ΔE 0.054
- Deep Teal #00555A ΔE 0.055
- Dusty Grape #545775 ΔE 0.060
- Dark Teal #014D4E ΔE 0.062
Use #404D5A 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.