#271E25
Closest named color: Jet (#212529). oklch(24.9% 0.019 334), rgb(39, 30, 37).
Aa
White text reads best on this color (16.17:1).
About this color
#271E25 is a very dark close to neutral grey. In OKLCH its lightness is 25%, its chroma 0.019. 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 16.17:1.
| Hue family | Neutrals |
| Lightness | very dark (25%) |
| Chroma | close to neutral grey (0.019) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.29:1 |
| White text | 16.17:1 |
Values
| HEX | #271E25 |
| RGB | rgb(39, 30, 37) |
| HSL | hsl(313, 13%, 14%) |
| OKLCH | oklch(24.9% 0.019 334) |
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 #271E25 | 16.17:1 | AAA | Lc -105.7 | Preferred for body text |
| Black text on #271E25 | 1.29:1 | Fails | Lc 0.0 | Not readable |
| #271E25 text on white | 16.17:1 | AAA | Lc 103.1 | Preferred for body text |
| #271E25 text on black | 1.29: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
#F7F5F6
oklch(97.2% 0.002 345.2)
-
Step 100
100
#EDE8EC
oklch(93.6% 0.008 332.1)
-
Step 200
200
#DED6DC
oklch(88.4% 0.012 334.1)
-
Step 300
300
#CABCC7
oklch(81% 0.022 332.9)
-
Step 400
400
#AF99AA
oklch(70.8% 0.035 333.8)
-
Step 500
500
#9B8095
oklch(63.2% 0.044 333.9)
-
Step 600
600
#86697F
oklch(55.7% 0.049 334.9)
-
Step 700
700
#71576C
oklch(49.1% 0.046 333)
-
Step 800
800
#5C4758
oklch(42.6% 0.039 332.9)
-
Step 900
900
#4C3C48
oklch(37.8% 0.029 335.1)
-
Step 950
950 (this color)
#271E25
oklch(24.9% 0.019 334)
#271E25 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) | #1E2025 | 0.018 |
| Deuteranopia (no green cones) | #202125 | 0.016 |
| Tritanopia (no blue cones) | #281E20 | 0.010 |
| Achromatopsia (no color) | #212121 | 0.019 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #271E25
#271E25
oklch(24.9% 0.019 334)
- #1A241D
#1A241D
oklch(24.8% 0.019 154.3)
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 #271E25, 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.031
- Oxford Blue #1B263B ΔE 0.045
- Rich Black #0D1B2A ΔE 0.049
- Dark Brown #341C02 ΔE 0.058
- Space Cadet #2B2D42 ΔE 0.064
- Chocolate Brown #411900 ΔE 0.073
- Gunmetal #293241 ΔE 0.073
Use #271E25 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.