#405456
Closest named color: Dark Slate Gray (#2F4F4F). oklch(43% 0.025 203.9), rgb(64, 84, 86).
Aa
White text reads best on this color (8.01:1).
About this color
#405456 is a dark close to neutral grey. In OKLCH its lightness is 43%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.030 away. White text reads best on it, at 8.01:1.
| Hue family | Neutrals |
| Lightness | dark (43%) |
| Chroma | close to neutral grey (0.025) |
| Temperature | neutral |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.62:1 |
| White text | 8.01:1 |
Values
| HEX | #405456 |
| RGB | rgb(64, 84, 86) |
| HSL | hsl(185, 15%, 29%) |
| OKLCH | oklch(43% 0.025 203.9) |
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 #405456 | 8.01:1 | AAA | Lc -92.4 | Preferred for body text |
| Black text on #405456 | 2.62:1 | Fails | Lc 16.2 | Dividers and decoration only |
| #405456 text on white | 8.01:1 | AAA | Lc 87.8 | Fine for body text |
| #405456 text on black | 2.62:1 | Fails | Lc -14.4 | 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
#F4F6F6
oklch(97.2% 0.002 197.1)
-
Step 100
100
#E7EBEB
oklch(93.7% 0.004 197.1)
-
Step 200
200
#D3DBDB
oklch(88.5% 0.009 197)
-
Step 300
300
#B6C3C5
oklch(80.8% 0.015 207.9)
-
Step 400
400
#91A5A7
oklch(70.7% 0.023 204)
-
Step 500
500
#758F92
oklch(63.1% 0.03 205)
-
Step 600
600
#5D797C
oklch(55.5% 0.033 204.4)
-
Step 700
700
#4D6668
oklch(49.1% 0.03 202.3)
-
Step 800
800 (this color)
#405456
oklch(43% 0.025 203.9)
-
Step 900
900
#364546
oklch(37.8% 0.019 201.4)
-
Step 950
950
#202829
oklch(27% 0.011 205.8)
#405456 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) | #515256 | 0.025 |
| Deuteranopia (no green cones) | #4D4F56 | 0.023 |
| Tritanopia (no blue cones) | #395655 | 0.011 |
| Achromatopsia (no color) | #505050 | 0.025 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #405456
#405456
oklch(43% 0.025 203.9)
- #5D4B49
#5D4B49
oklch(43.1% 0.025 25.6)
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 #405456, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.030
- Deep Teal #00555A ΔE 0.049
- YInMn Blue #415A77 ΔE 0.053
- Petrol #005F6A ΔE 0.054
- Dark Green Blue #1F6357 ΔE 0.054
- Charcoal #264653 ΔE 0.059
- Dark Grey Blue #29465B ΔE 0.060
- Dark Blue Green #005249 ΔE 0.060
Use #405456 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.