#1D271F
Closest named color: Jet (#212529). oklch(26% 0.02 150.8), rgb(29, 39, 31).
Aa
White text reads best on this color (15.41:1).
About this color
#1D271F is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.024 away. White text reads best on it, at 15.41:1.
| Hue family | Neutrals |
| Lightness | dark (26%) |
| Chroma | close to neutral grey (0.020) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.36:1 |
| White text | 15.41:1 |
Values
| HEX | #1D271F |
| RGB | rgb(29, 39, 31) |
| HSL | hsl(132, 15%, 13%) |
| OKLCH | oklch(26% 0.02 150.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 #1D271F | 15.41:1 | AAA | Lc -105.0 | Preferred for body text |
| Black text on #1D271F | 1.36:1 | Fails | Lc 0.0 | Not readable |
| #1D271F text on white | 15.41:1 | AAA | Lc 102.3 | Preferred for body text |
| #1D271F text on black | 1.36: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
#F4F6F4
oklch(97.1% 0.003 145.5)
-
Step 100
100
#E7EBE7
oklch(93.6% 0.007 145.5)
-
Step 200
200
#D3DCD5
oklch(88.6% 0.014 152.6)
-
Step 300
300
#B6C5B9
oklch(80.8% 0.023 151.6)
-
Step 400
400
#90A894
oklch(70.7% 0.039 150)
-
Step 500
500
#74927A
oklch(63% 0.049 150.8)
-
Step 600
600
#5C7D63
oklch(55.7% 0.055 150.8)
-
Step 700
700
#4C6952
oklch(49.1% 0.05 150.6)
-
Step 800
800
#3E5643
oklch(42.8% 0.043 150.6)
-
Step 900
900
#354739
oklch(37.8% 0.033 151.3)
-
Step 950
950 (this color)
#1D271F
oklch(26% 0.02 150.8)
#1D271F 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) | #27251F | 0.018 |
| Deuteranopia (no green cones) | #25241F | 0.017 |
| Tritanopia (no blue cones) | #1C2725 | 0.011 |
| Achromatopsia (no color) | #252525 | 0.021 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1D271F
#1D271F
oklch(26% 0.02 150.8)
- #2A2129
#2A2129
oklch(26.1% 0.02 329.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 #1D271F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.024
- Dark #1B2431 ΔE 0.039
- Oxford Blue #1B263B ΔE 0.054
- Dark Brown #341C02 ΔE 0.057
- Rich Black #0D1B2A ΔE 0.061
- Pakistan Green #283618 ΔE 0.062
- Very Dark Green #062E03 ΔE 0.062
- Dark Forest Green #002D04 ΔE 0.063
Use #1D271F 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.