#3A5154
Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.7% 0.029 206.1), rgb(58, 81, 84).
Aa
White text reads best on this color (8.45:1).
About this color
#3A5154 is a dark close to neutral grey. In OKLCH its lightness is 42%, 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.018 away. White text reads best on it, at 8.45:1.
| Hue family | Neutrals |
| Lightness | dark (42%) |
| Chroma | close to neutral grey (0.029) |
| Temperature | neutral |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.48:1 |
| White text | 8.45:1 |
Values
| HEX | #3A5154 |
| RGB | rgb(58, 81, 84) |
| HSL | hsl(187, 18%, 28%) |
| OKLCH | oklch(41.7% 0.029 206.1) |
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 #3A5154 | 8.45:1 | AAA | Lc -93.6 | Preferred for body text |
| Black text on #3A5154 | 2.48:1 | Fails | Lc 14.9 | Not readable |
| #3A5154 text on white | 8.45:1 | AAA | Lc 89.1 | Fine for body text |
| #3A5154 text on black | 2.48:1 | Fails | Lc -13.1 | 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
#E6EBEB
oklch(93.6% 0.005 197.1)
-
Step 200
200
#D2DBDC
oklch(88.5% 0.01 204.9)
-
Step 300
300
#B5C4C6
oklch(80.9% 0.017 206.4)
-
Step 400
400
#8EA6A9
oklch(70.8% 0.027 205.8)
-
Step 500
500
#729094
oklch(63.2% 0.034 206.3)
-
Step 600
600
#5A7A7E
oklch(55.6% 0.037 205.7)
-
Step 700
700
#4A676A
oklch(49.2% 0.034 204.1)
-
Step 800
800 (this color)
#3A5154
oklch(41.7% 0.029 206.1)
-
Step 900
900
#344547
oklch(37.7% 0.022 205.2)
-
Step 950
950
#1F282A
oklch(26.9% 0.013 212.7)
#3A5154 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) | #4D4F54 | 0.028 |
| Deuteranopia (no green cones) | #494C54 | 0.025 |
| Tritanopia (no blue cones) | #315352 | 0.014 |
| Achromatopsia (no color) | #4D4D4D | 0.029 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3A5154
#3A5154
oklch(41.7% 0.029 206.1)
- #5B4744
#5B4744
oklch(41.8% 0.028 28.2)
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 #3A5154, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.018
- Deep Teal #00555A ΔE 0.042
- Charcoal #264653 ΔE 0.046
- Dark Grey Blue #29465B ΔE 0.048
- Charcoal Grey #3C4142 ΔE 0.051
- Dark Blue Green #005249 ΔE 0.051
- Dark Teal #014D4E ΔE 0.052
- Petrol #005F6A ΔE 0.055
Use #3A5154 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.