#2D4940
Closest named color: Dark Slate Gray (#2F4F4F). oklch(38% 0.037 172), rgb(45, 73, 64).
Aa
White text reads best on this color (9.81:1).
About this color
#2D4940 is a dark, muted teal or cyan. In OKLCH its lightness is 38%, its chroma 0.037 and its hue 172°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.028 away. White text reads best on it, at 9.81:1.
| Hue family | Teals and cyans |
| Lightness | dark (38%) |
| Chroma | muted (0.037) |
| Temperature | cool |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.13:1 |
| White text | 9.81:1 |
Values
| HEX | #2D4940 |
| RGB | rgb(45, 73, 64) |
| HSL | hsl(161, 24%, 23%) |
| OKLCH | oklch(38% 0.037 172) |
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 #2D4940 | 9.81:1 | AAA | Lc -96.9 | Preferred for body text |
| Black text on #2D4940 | 2.13:1 | Fails | Lc 11.2 | Not readable |
| #2D4940 text on white | 9.81:1 | AAA | Lc 92.7 | Preferred for body text |
| #2D4940 text on black | 2.13:1 | Fails | Lc -9.7 | 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 900.
-
Step 50
50
#F3F6F5
oklch(97.1% 0.003 174.5)
-
Step 100
100
#E5ECE9
oklch(93.7% 0.008 168.7)
-
Step 200
200
#CFDDD8
oklch(88.6% 0.016 172.6)
-
Step 300
300
#AFC7BE
oklch(80.9% 0.029 171)
-
Step 400
400
#85AA9D
oklch(70.7% 0.045 171.5)
-
Step 500
500
#659585
oklch(63.1% 0.057 171.6)
-
Step 600
600
#4B7F6F
oklch(55.5% 0.062 172.3)
-
Step 700
700
#3C6C5D
oklch(49.2% 0.058 171.7)
-
Step 800
800
#32584C
oklch(42.8% 0.048 171.7)
-
Step 900
900 (this color)
#2D4940
oklch(38% 0.037 172)
-
Step 950
950
#1A2A25
oklch(26.9% 0.023 173)
#2D4940 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) | #474640 | 0.038 |
| Deuteranopia (no green cones) | #424241 | 0.037 |
| Tritanopia (no blue cones) | #254946 | 0.013 |
| Achromatopsia (no color) | #434343 | 0.038 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2D4940
#2D4940
oklch(38% 0.037 172)
- #523A44
#523A44
oklch(37.9% 0.037 352.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 #2D4940, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.028
- Charcoal Grey #3C4142 ΔE 0.034
- Dark Teal #014D4E ΔE 0.034
- Dark Blue Green #005249 ΔE 0.037
- Charcoal #264653 ΔE 0.038
- Onyx #343A40 ΔE 0.051
- Deep Teal #00555A ΔE 0.051
- Dark Grey Blue #29465B ΔE 0.051
Use #2D4940 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.