#271B23
Closest named color: Jet (#212529). oklch(24% 0.024 339.1), rgb(39, 27, 35).
Aa
White text reads best on this color (16.57:1).
About this color
#271B23 is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.024. 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 16.57:1.
| Hue family | Neutrals |
| Lightness | very dark (24%) |
| Chroma | close to neutral grey (0.024) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.26:1 |
| White text | 16.57:1 |
Values
| HEX | #271B23 |
| RGB | rgb(39, 27, 35) |
| HSL | hsl(320, 18%, 13%) |
| OKLCH | oklch(24% 0.024 339.1) |
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 #271B23 | 16.57:1 | AAA | Lc -105.9 | Preferred for body text |
| Black text on #271B23 | 1.26:1 | Fails | Lc 0.0 | Not readable |
| #271B23 text on white | 16.57:1 | AAA | Lc 103.5 | Preferred for body text |
| #271B23 text on black | 1.26: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
#F7F4F6
oklch(97% 0.004 337.4)
-
Step 100
100
#EEE8EC
oklch(93.7% 0.008 337.4)
-
Step 200
200
#E1D5DC
oklch(88.5% 0.016 341.4)
-
Step 300
300
#CEBAC7
oklch(81% 0.029 338.7)
-
Step 400
400
#B496AA
oklch(70.6% 0.045 338.5)
-
Step 500
500
#A17C95
oklch(63% 0.057 338.6)
-
Step 600
600
#8C657F
oklch(55.5% 0.062 339.4)
-
Step 700
700
#77546C
oklch(49.1% 0.058 338.6)
-
Step 800
800
#614558
oklch(42.8% 0.048 338.8)
-
Step 900
900
#4F3A48
oklch(37.7% 0.037 339.1)
-
Step 950
950 (this color)
#271B23
oklch(24% 0.024 339.1)
#271B23 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) | #1B1D23 | 0.024 |
| Deuteranopia (no green cones) | #1E1F23 | 0.021 |
| Tritanopia (no blue cones) | #281B1E | 0.010 |
| Achromatopsia (no color) | #1F1F1F | 0.024 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #271B23
#271B23
oklch(24% 0.024 339.1)
- #15231B
#15231B
oklch(24% 0.025 158.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 #271B23, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.034
- Dark #1B2431 ΔE 0.038
- Rich Black #0D1B2A ΔE 0.048
- Oxford Blue #1B263B ΔE 0.052
- Dark Brown #341C02 ΔE 0.059
- Eggplant #380835 ΔE 0.072
- Space Cadet #2B2D42 ΔE 0.073
- Chocolate Brown #411900 ΔE 0.074
Use #271B23 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.