#42515E
Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.7% 0.029 244.7), rgb(66, 81, 94).
Aa
White text reads best on this color (8.17:1).
About this color
#42515E is a dark close to neutral grey. In OKLCH its lightness is 43%, 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.038 away. White text reads best on it, at 8.17:1.
| Hue family | Neutrals |
| Lightness | dark (43%) |
| Chroma | close to neutral grey (0.029) |
| Temperature | neutral |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.57:1 |
| White text | 8.17:1 |
Values
| HEX | #42515E |
| RGB | rgb(66, 81, 94) |
| HSL | hsl(208, 18%, 31%) |
| OKLCH | oklch(42.7% 0.029 244.7) |
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 #42515E | 8.17:1 | AAA | Lc -92.9 | Preferred for body text |
| Black text on #42515E | 2.57:1 | Fails | Lc 15.7 | Dividers and decoration only |
| #42515E text on white | 8.17:1 | AAA | Lc 88.3 | Fine for body text |
| #42515E text on black | 2.57:1 | Fails | Lc -13.9 | 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
#F4F6F7
oklch(97.2% 0.003 228.8)
-
Step 100
100
#E7EAED
oklch(93.6% 0.005 247.9)
-
Step 200
200
#D4DADF
oklch(88.5% 0.009 242.9)
-
Step 300
300
#B8C2CB
oklch(80.9% 0.017 245.1)
-
Step 400
400
#93A3B1
oklch(70.7% 0.027 244.6)
-
Step 500
500
#798C9D
oklch(63.1% 0.034 245.4)
-
Step 600
600
#617688
oklch(55.6% 0.037 244.4)
-
Step 700
700
#506373
oklch(49% 0.035 244)
-
Step 800
800 (this color)
#42515E
oklch(42.7% 0.029 244.7)
-
Step 900
900
#38434D
oklch(37.7% 0.022 245.9)
-
Step 950
950
#21272D
oklch(26.9% 0.014 248.4)
#42515E 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) | #4C515F | 0.015 |
| Deuteranopia (no green cones) | #484E5E | 0.012 |
| Tritanopia (no blue cones) | #3A5455 | 0.024 |
| Achromatopsia (no color) | #4F4F4F | 0.029 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #42515E
#42515E
oklch(42.7% 0.029 244.7)
- #5A4C3F
#5A4C3F
oklch(42.7% 0.028 64.9)
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 #42515E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.038
- YInMn Blue #415A77 ΔE 0.043
- Dusty Grape #545775 ΔE 0.049
- Dark Grey Blue #29465B ΔE 0.051
- Charcoal #264653 ΔE 0.055
- Deep Teal #00555A ΔE 0.055
- Petrol #005F6A ΔE 0.058
- Charcoal Grey #3C4142 ΔE 0.061
Use #42515E 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.