#2F4038
Closest named color: Charcoal Grey (#3C4142). oklch(35.4% 0.026 164.5), rgb(47, 64, 56).
Aa
White text reads best on this color (10.98:1).
About this color
#2F4038 is a dark close to neutral grey. In OKLCH its lightness is 35%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.028 away. White text reads best on it, at 10.98:1.
| Hue family | Neutrals |
| Lightness | dark (35%) |
| Chroma | close to neutral grey (0.026) |
| Temperature | neutral |
| Nearest name | Charcoal Grey (#3C4142) |
| Black text | 1.91:1 |
| White text | 10.98:1 |
Values
| HEX | #2F4038 |
| RGB | rgb(47, 64, 56) |
| HSL | hsl(152, 15%, 22%) |
| OKLCH | oklch(35.4% 0.026 164.5) |
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 #2F4038 | 10.98:1 | AAA | Lc -99.3 | Preferred for body text |
| Black text on #2F4038 | 1.91:1 | Fails | Lc 8.5 | Not readable |
| #2F4038 text on white | 10.98:1 | AAA | Lc 95.4 | Preferred for body text |
| #2F4038 text on black | 1.91: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
#F4F6F5
oklch(97.1% 0.002 165.1)
-
Step 100
100
#E7EBE9
oklch(93.6% 0.005 165)
-
Step 200
200
#D3DBD7
oklch(88.4% 0.01 164.8)
-
Step 300
300
#B6C5BD
oklch(81% 0.02 162.8)
-
Step 400
400
#8FA79C
oklch(70.7% 0.031 166.1)
-
Step 500
500
#749183
oklch(63% 0.039 164.3)
-
Step 600
600
#5C7C6D
oklch(55.7% 0.043 164.5)
-
Step 700
700
#4B685B
oklch(49% 0.04 165.4)
-
Step 800
800
#3E554A
oklch(42.7% 0.034 164)
-
Step 900
900 (this color)
#2F4038
oklch(35.4% 0.026 164.5)
-
Step 950
950
#1F2924
oklch(27% 0.017 163.4)
#2F4038 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) | #3F3E38 | 0.025 |
| Deuteranopia (no green cones) | #3C3B38 | 0.025 |
| Tritanopia (no blue cones) | #2C403E | 0.011 |
| Achromatopsia (no color) | #3C3C3C | 0.026 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F4038
#2F4038
oklch(35.4% 0.026 164.5)
- #46363F
#46363F
oklch(35.4% 0.027 343.8)
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 #2F4038, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal Grey #3C4142 ΔE 0.028
- Onyx #343A40 ΔE 0.029
- Charcoal #264653 ΔE 0.044
- Dark Blue Grey #1F3B4D ΔE 0.049
- Dark Teal #014D4E ΔE 0.052
- Dark Slate Gray #2F4F4F ΔE 0.053
- Evergreen #05472A ΔE 0.054
- Pakistan Green #283618 ΔE 0.055
Use #2F4038 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.