#314940
Closest named color: Dark Slate Gray (#2F4F4F). oklch(38.3% 0.033 169.2), rgb(49, 73, 64).
Aa
White text reads best on this color (9.73:1).
About this color
#314940 is a dark, muted green. In OKLCH its lightness is 38%, its chroma 0.033 and its hue 169°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.026 away. White text reads best on it, at 9.73:1.
| Hue family | Greens |
| Lightness | dark (38%) |
| Chroma | muted (0.033) |
| Temperature | in between |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.15:1 |
| White text | 9.73:1 |
Values
| HEX | #314940 |
| RGB | rgb(49, 73, 64) |
| HSL | hsl(158, 20%, 24%) |
| OKLCH | oklch(38.3% 0.033 169.2) |
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 #314940 | 9.73:1 | AAA | Lc -96.7 | Preferred for body text |
| Black text on #314940 | 2.15:1 | Fails | Lc 11.4 | Not readable |
| #314940 text on white | 9.73:1 | AAA | Lc 92.5 | Preferred for body text |
| #314940 text on black | 2.15:1 | Fails | Lc -9.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 900.
-
Step 50
50
#F3F6F5
oklch(97.1% 0.003 174.5)
-
Step 100
100
#E5EBE9
oklch(93.5% 0.007 174.4)
-
Step 200
200
#D1DCD7
oklch(88.5% 0.014 167.1)
-
Step 300
300
#B2C6BE
oklch(80.9% 0.024 169.7)
-
Step 400
400
#89A99C
oklch(70.7% 0.04 168.5)
-
Step 500
500
#6B9484
oklch(63.2% 0.051 168.6)
-
Step 600
600
#517E6E
oklch(55.5% 0.056 169.8)
-
Step 700
700
#426A5C
oklch(49% 0.051 170)
-
Step 800
800
#37574B
oklch(42.8% 0.043 168.7)
-
Step 900
900 (this color)
#314940
oklch(38.3% 0.033 169.2)
-
Step 950
950
#1C2A25
oklch(27% 0.021 170.6)
#314940 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) | #484640 | 0.035 |
| Deuteranopia (no green cones) | #434341 | 0.032 |
| Tritanopia (no blue cones) | #2B4946 | 0.012 |
| Achromatopsia (no color) | #444444 | 0.034 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #314940
#314940
oklch(38.3% 0.033 169.2)
- #513C46
#513C46
oklch(38.3% 0.033 348.6)
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 #314940, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.026
- Charcoal Grey #3C4142 ΔE 0.031
- Dark Teal #014D4E ΔE 0.038
- Charcoal #264653 ΔE 0.039
- Dark Blue Green #005249 ΔE 0.040
- Onyx #343A40 ΔE 0.050
- Dark Grey Blue #29465B ΔE 0.051
- Deep Teal #00555A ΔE 0.052
Use #314940 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.