#313C30
Closest named color: Onyx (#343A40). oklch(34.2% 0.025 142.8), rgb(49, 60, 48).
Aa
White text reads best on this color (11.54:1).
About this color
#313C30 is a dark close to neutral grey. In OKLCH its lightness is 34%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.032 away. White text reads best on it, at 11.54:1.
| Hue family | Neutrals |
| Lightness | dark (34%) |
| Chroma | close to neutral grey (0.025) |
| Temperature | neutral |
| Nearest name | Onyx (#343A40) |
| Black text | 1.81:1 |
| White text | 11.54:1 |
Values
| HEX | #313C30 |
| RGB | rgb(49, 60, 48) |
| HSL | hsl(115, 11%, 21%) |
| OKLCH | oklch(34.2% 0.025 142.8) |
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 #313C30 | 11.54:1 | AAA | Lc -100.3 | Preferred for body text |
| Black text on #313C30 | 1.81:1 | Fails | Lc 0.0 | Not readable |
| #313C30 text on white | 11.54:1 | AAA | Lc 96.6 | Preferred for body text |
| #313C30 text on black | 1.81:1 | Fails | Lc 0.0 | 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
#F4F6F4
oklch(97.1% 0.003 145.5)
-
Step 100
100
#E8EBE7
oklch(93.7% 0.006 137.8)
-
Step 200
200
#D5DBD5
oklch(88.5% 0.01 145.5)
-
Step 300
300
#BAC4B9
oklch(80.9% 0.019 142.8)
-
Step 400
400
#96A695
oklch(70.8% 0.03 143.6)
-
Step 500
500
#7C907A
oklch(63.1% 0.04 142.6)
-
Step 600
600
#657A63
oklch(55.6% 0.043 142.7)
-
Step 700
700
#546752
oklch(49.2% 0.04 142.4)
-
Step 800
800
#455443
oklch(42.8% 0.033 141.8)
-
Step 900
900 (this color)
#313C30
oklch(34.2% 0.025 142.8)
-
Step 950
950
#222921
oklch(27.1% 0.018 141.6)
#313C30 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) | #3D3A2F | 0.020 |
| Deuteranopia (no green cones) | #3B3931 | 0.019 |
| Tritanopia (no blue cones) | #303B39 | 0.017 |
| Achromatopsia (no color) | #393939 | 0.025 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313C30
#313C30
oklch(34.2% 0.025 142.8)
- #3F3440
#3F3440
oklch(34.2% 0.025 323.5)
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 #313C30, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Onyx #343A40 ΔE 0.032
- Charcoal Grey #3C4142 ΔE 0.037
- Pakistan Green #283618 ΔE 0.042
- Gunmetal #293241 ΔE 0.054
- Dark Blue Grey #1F3B4D ΔE 0.055
- Dark Olive #373E02 ΔE 0.056
- Evergreen #05472A ΔE 0.057
- Charcoal #264653 ΔE 0.058
Use #313C30 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.