#2D4540
Closest named color: Charcoal Grey (#3C4142). oklch(36.9% 0.031 180), rgb(45, 69, 64).
Aa
White text reads best on this color (10.30:1).
About this color
#2D4540 is a dark, muted teal or cyan. In OKLCH its lightness is 37%, its chroma 0.031 and its hue 180°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.025 away. White text reads best on it, at 10.30:1.
| Hue family | Teals and cyans |
| Lightness | dark (37%) |
| Chroma | muted (0.031) |
| Temperature | cool |
| Nearest name | Charcoal Grey (#3C4142) |
| Black text | 2.03:1 |
| White text | 10.30:1 |
Values
| HEX | #2D4540 |
| RGB | rgb(45, 69, 64) |
| HSL | hsl(168, 21%, 22%) |
| OKLCH | oklch(36.9% 0.031 180) |
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 #2D4540 | 10.30:1 | AAA | Lc -97.9 | Preferred for body text |
| Black text on #2D4540 | 2.03:1 | Fails | Lc 10.0 | Not readable |
| #2D4540 text on white | 10.30:1 | AAA | Lc 93.9 | Preferred for body text |
| #2D4540 text on black | 2.03:1 | Fails | Lc -8.6 | 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
#E5EBEA
oklch(93.5% 0.007 185.3)
-
Step 200
200
#D1DCD9
oklch(88.5% 0.013 178)
-
Step 300
300
#B1C6C1
oklch(80.9% 0.024 179.8)
-
Step 400
400
#88A9A1
oklch(70.8% 0.038 178.7)
-
Step 500
500
#6A938A
oklch(63% 0.047 179.6)
-
Step 600
600
#517E74
oklch(55.7% 0.052 178.7)
-
Step 700
700
#416A62
oklch(49.1% 0.048 180.5)
-
Step 800
800
#365650
oklch(42.6% 0.039 181.3)
-
Step 900
900 (this color)
#2D4540
oklch(36.9% 0.031 180)
-
Step 950
950
#1C2A27
oklch(27.1% 0.02 180)
#2D4540 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) | #434240 | 0.033 |
| Deuteranopia (no green cones) | #3F3F40 | 0.032 |
| Tritanopia (no blue cones) | #264643 | 0.009 |
| Achromatopsia (no color) | #404040 | 0.031 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2D4540
#2D4540
oklch(36.9% 0.031 180)
- #4E393F
#4E393F
oklch(37% 0.031 359.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 #2D4540, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal Grey #3C4142 ΔE 0.025
- Charcoal #264653 ΔE 0.032
- Dark Slate Gray #2F4F4F ΔE 0.036
- Onyx #343A40 ΔE 0.037
- Dark Teal #014D4E ΔE 0.038
- Dark Grey Blue #29465B ΔE 0.046
- Dark Blue Green #005249 ΔE 0.046
- Dark Blue Grey #1F3B4D ΔE 0.050
Use #2D4540 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.