#40565A
Closest named color: Dark Slate Gray (#2F4F4F). oklch(43.7% 0.028 209.9), rgb(64, 86, 90).
Aa
White text reads best on this color (7.78:1).
About this color
#40565A is a dark close to neutral grey. In OKLCH its lightness is 44%, its chroma 0.028. 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 7.78:1.
| Hue family | Neutrals |
| Lightness | dark (44%) |
| Chroma | close to neutral grey (0.028) |
| Temperature | neutral |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.69:1 |
| White text | 7.78:1 |
Values
| HEX | #40565A |
| RGB | rgb(64, 86, 90) |
| HSL | hsl(189, 17%, 30%) |
| OKLCH | oklch(43.7% 0.028 209.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 #40565A | 7.78:1 | AAA | Lc -91.8 | Preferred for body text |
| Black text on #40565A | 2.69:1 | Fails | Lc 17.0 | Dividers and decoration only |
| #40565A text on white | 7.78:1 | AAA | Lc 87.0 | Fine for body text |
| #40565A text on black | 2.69:1 | Fails | Lc -15.1 | Dividers and decoration only |
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
#E6EBEB
oklch(93.6% 0.005 197.1)
-
Step 200
200
#D3DBDC
oklch(88.6% 0.009 205.9)
-
Step 300
300
#B5C4C6
oklch(80.9% 0.017 206.4)
-
Step 400
400
#8FA5A9
oklch(70.6% 0.025 209.8)
-
Step 500
500
#738F94
oklch(63% 0.033 209.6)
-
Step 600
600
#5B797F
oklch(55.5% 0.036 211.2)
-
Step 700
700
#4B666B
oklch(49.1% 0.033 210.2)
-
Step 800
800 (this color)
#40565A
oklch(43.7% 0.028 209.9)
-
Step 900
900
#344548
oklch(37.7% 0.022 209.5)
-
Step 950
950
#1F282A
oklch(26.9% 0.013 212.7)
#40565A 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) | #52545A | 0.026 |
| Deuteranopia (no green cones) | #4E515A | 0.024 |
| Tritanopia (no blue cones) | #385857 | 0.014 |
| Achromatopsia (no color) | #525252 | 0.028 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40565A
#40565A
oklch(43.7% 0.028 209.9)
- #604C49
#604C49
oklch(43.6% 0.028 28.1)
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 #40565A, 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
- YInMn Blue #415A77 ΔE 0.047
- Petrol #005F6A ΔE 0.049
- Deep Teal #00555A ΔE 0.051
- Dark Green Blue #1F6357 ΔE 0.052
- Dusty Grape #545775 ΔE 0.056
- Slate #516572 ΔE 0.060
- Dark Grey Blue #29465B ΔE 0.063
Use #40565A 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.