#1F2F2E
Closest named color: Jet (#212529). oklch(29.1% 0.021 191.2), rgb(31, 47, 46).
Aa
White text reads best on this color (13.95:1).
About this color
#1F2F2E is a dark close to neutral grey. In OKLCH its lightness is 29%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.034 away. White text reads best on it, at 13.95:1.
| Hue family | Neutrals |
| Lightness | dark (29%) |
| Chroma | close to neutral grey (0.021) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.50:1 |
| White text | 13.95:1 |
Values
| HEX | #1F2F2E |
| RGB | rgb(31, 47, 46) |
| HSL | hsl(176, 21%, 15%) |
| OKLCH | oklch(29.1% 0.021 191.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 #1F2F2E | 13.95:1 | AAA | Lc -103.6 | Preferred for body text |
| Black text on #1F2F2E | 1.50:1 | Fails | Lc 0.0 | Not readable |
| #1F2F2E text on white | 13.95:1 | AAA | Lc 100.6 | Preferred for body text |
| #1F2F2E text on black | 1.50: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 950.
-
Step 50
50
#F3F6F6
oklch(97.1% 0.003 197.1)
-
Step 100
100
#E5EBEB
oklch(93.6% 0.006 197)
-
Step 200
200
#CFDCDB
oklch(88.4% 0.014 191.4)
-
Step 300
300
#AFC6C4
oklch(80.9% 0.025 190.3)
-
Step 400
400
#84A9A7
oklch(70.7% 0.04 192.2)
-
Step 500
500
#649491
oklch(63.1% 0.052 191)
-
Step 600
600
#4A7E7B
oklch(55.6% 0.056 190.9)
-
Step 700
700
#3B6A68
oklch(49% 0.052 192.1)
-
Step 800
800
#315755
oklch(42.8% 0.044 191.3)
-
Step 900
900
#2C4746
oklch(37.6% 0.033 192.9)
-
Step 950
950 (this color)
#1F2F2E
oklch(29.1% 0.021 191.2)
#1F2F2E 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) | #2D2D2E | 0.023 |
| Deuteranopia (no green cones) | #2A2B2E | 0.021 |
| Tritanopia (no blue cones) | #1A302F | 0.007 |
| Achromatopsia (no color) | #2C2C2C | 0.021 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F2F2E
#1F2F2E
oklch(29.1% 0.021 191.2)
- #352729
#352729
oklch(29% 0.021 8.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 #1F2F2E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.034
- Gunmetal #293241 ΔE 0.039
- Dark #1B2431 ΔE 0.043
- Space Cadet #2B2D42 ΔE 0.045
- Oxford Blue #1B263B ΔE 0.046
- Pakistan Green #283618 ΔE 0.051
- Onyx #343A40 ΔE 0.057
- Midnight Green #073B4C ΔE 0.058
Use #1F2F2E 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.