#271A23
Closest named color: Jet (#212529). oklch(23.8% 0.026 338.2), rgb(39, 26, 35).
Aa
White text reads best on this color (16.68:1).
About this color
#271A23 is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.037 away. White text reads best on it, at 16.68:1.
| Hue family | Neutrals |
| Lightness | very dark (24%) |
| Chroma | close to neutral grey (0.026) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.25:1 |
| White text | 16.68:1 |
Values
| HEX | #271A23 |
| RGB | rgb(39, 26, 35) |
| HSL | hsl(318, 20%, 13%) |
| OKLCH | oklch(23.8% 0.026 338.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 #271A23 | 16.68:1 | AAA | Lc -106.0 | Preferred for body text |
| Black text on #271A23 | 1.25:1 | Fails | Lc 0.0 | Not readable |
| #271A23 text on white | 16.68:1 | AAA | Lc 103.6 | Preferred for body text |
| #271A23 text on black | 1.25: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
#E1D5DD
oklch(88.5% 0.017 337.6)
-
Step 300
300
#CFB9C7
oklch(80.8% 0.031 339.4)
-
Step 400
400
#B695AB
oklch(70.7% 0.05 338.6)
-
Step 500
500
#A37B97
oklch(63.1% 0.063 337.6)
-
Step 600
600
#8E6481
oklch(55.6% 0.068 338.5)
-
Step 700
700
#79536D
oklch(49.2% 0.063 338.8)
-
Step 800
800
#624459
oklch(42.7% 0.052 338)
-
Step 900
900
#503949
oklch(37.6% 0.041 338)
-
Step 950
950 (this color)
#271A23
oklch(23.8% 0.026 338.2)
#271A23 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) | #1A1D23 | 0.027 |
| Deuteranopia (no green cones) | #1D1F23 | 0.025 |
| Tritanopia (no blue cones) | #281A1D | 0.012 |
| Achromatopsia (no color) | #1E1E1E | 0.026 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #271A23
#271A23
oklch(23.8% 0.026 338.2)
- #14231A
#14231A
oklch(23.9% 0.027 157.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 #271A23, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.037
- Dark #1B2431 ΔE 0.040
- Rich Black #0D1B2A ΔE 0.047
- Oxford Blue #1B263B ΔE 0.054
- Dark Brown #341C02 ΔE 0.061
- Eggplant #380835 ΔE 0.070
- Dark Maroon #3C0008 ΔE 0.075
- Aubergine #3D0734 ΔE 0.075
Use #271A23 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.