#315340
Closest named color: Dark Slate Gray (#2F4F4F). oklch(41% 0.051 158.6), rgb(49, 83, 64).
Aa
White text reads best on this color (8.59:1).
About this color
#315340 is a dark, muted green. In OKLCH its lightness is 41%, its chroma 0.051 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.032 away. White text reads best on it, at 8.59:1.
| Hue family | Greens |
| Lightness | dark (41%) |
| Chroma | muted (0.051) |
| Temperature | in between |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.44:1 |
| White text | 8.59:1 |
Values
| HEX | #315340 |
| RGB | rgb(49, 83, 64) |
| HSL | hsl(146, 26%, 26%) |
| OKLCH | oklch(41% 0.051 158.6) |
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 #315340 | 8.59:1 | AAA | Lc -94.0 | Preferred for body text |
| Black text on #315340 | 2.44:1 | Fails | Lc 14.5 | Not readable |
| #315340 text on white | 8.59:1 | AAA | Lc 89.5 | Fine for body text |
| #315340 text on black | 2.44:1 | Fails | Lc -12.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
#F3F6F4
oklch(97% 0.004 157.2)
-
Step 100
100
#E5ECE8
oklch(93.7% 0.009 161.3)
-
Step 200
200
#D0DDD5
oklch(88.5% 0.018 159.1)
-
Step 300
300
#B1C7B9
oklch(80.9% 0.031 157.7)
-
Step 400
400
#88AA96
oklch(70.7% 0.047 159.1)
-
Step 500
500
#69957C
oklch(63% 0.061 159.1)
-
Step 600
600
#507F65
oklch(55.5% 0.066 159.1)
-
Step 700
700
#416C54
oklch(49.2% 0.062 158.6)
-
Step 800
800 (this color)
#315340
oklch(41% 0.051 158.6)
-
Step 900
900
#2F483A
oklch(37.7% 0.039 159.3)
-
Step 950
950
#1C2A22
oklch(26.9% 0.024 159.2)
#315340 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) | #524E3F | 0.048 |
| Deuteranopia (no green cones) | #4D4A41 | 0.047 |
| Tritanopia (no blue cones) | #2A534E | 0.023 |
| Achromatopsia (no color) | #4C4C4C | 0.052 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #315340
#315340
oklch(41% 0.051 158.6)
- #5D3F54
#5D3F54
oklch(40.9% 0.052 338.1)
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 #315340, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.032
- Dark Blue Green #005249 ΔE 0.035
- Pine #2B5D34 ΔE 0.043
- Deep Teal #00555A ΔE 0.048
- Dark Teal #014D4E ΔE 0.049
- Spruce #0A5F38 ΔE 0.051
- Dark Green Blue #1F6357 ΔE 0.052
- Charcoal Grey #3C4142 ΔE 0.061
Use #315340 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.