#3A4E42
Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.3% 0.032 158.3), rgb(58, 78, 66).
Aa
White text reads best on this color (8.94:1).
About this color
#3A4E42 is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.032 and its hue 158°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.023 away. White text reads best on it, at 8.94:1.
| Hue family | Greens |
| Lightness | dark (40%) |
| Chroma | muted (0.032) |
| Temperature | in between |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.34:1 |
| White text | 8.94:1 |
Values
| HEX | #3A4E42 |
| RGB | rgb(58, 78, 66) |
| HSL | hsl(144, 15%, 27%) |
| OKLCH | oklch(40.3% 0.032 158.3) |
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 #3A4E42 | 8.94:1 | AAA | Lc -94.9 | Preferred for body text |
| Black text on #3A4E42 | 2.34:1 | Fails | Lc 13.5 | Not readable |
| #3A4E42 text on white | 8.94:1 | AAA | Lc 90.5 | Preferred for body text |
| #3A4E42 text on black | 2.34:1 | Fails | Lc -11.8 | 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
#F4F6F5
oklch(97.1% 0.002 165.1)
-
Step 100
100
#E7EBE8
oklch(93.6% 0.006 153.8)
-
Step 200
200
#D4DBD6
oklch(88.5% 0.01 155.1)
-
Step 300
300
#B7C4BC
oklch(80.8% 0.018 159)
-
Step 400
400
#92A79A
oklch(70.8% 0.03 158.4)
-
Step 500
500
#779181
oklch(63.2% 0.038 158.1)
-
Step 600
600
#5F7B6A
oklch(55.6% 0.042 158.1)
-
Step 700
700
#4E6858
oklch(49.1% 0.04 157.6)
-
Step 800
800 (this color)
#3A4E42
oklch(40.3% 0.032 158.3)
-
Step 900
900
#37463D
oklch(37.8% 0.025 158.6)
-
Step 950
950
#202924
oklch(27% 0.016 160.8)
#3A4E42 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) | #4E4B41 | 0.031 |
| Deuteranopia (no green cones) | #4A4843 | 0.030 |
| Tritanopia (no blue cones) | #364E4B | 0.015 |
| Achromatopsia (no color) | #494949 | 0.032 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3A4E42
#3A4E42
oklch(40.3% 0.032 158.3)
- #54424F
#54424F
oklch(40.3% 0.032 336.3)
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 #3A4E42, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.023
- Charcoal Grey #3C4142 ΔE 0.043
- Dark Blue Green #005249 ΔE 0.044
- Dark Teal #014D4E ΔE 0.049
- Charcoal #264653 ΔE 0.052
- Deep Teal #00555A ΔE 0.052
- Dark Grey Blue #29465B ΔE 0.060
- Pine #2B5D34 ΔE 0.062
Use #3A4E42 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.