#271A26
Closest named color: Jet (#212529). oklch(23.9% 0.03 329.1), rgb(39, 26, 38).
Aa
White text reads best on this color (16.64:1).
About this color
#271A26 is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.030. 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.64:1.
| Hue family | Neutrals |
| Lightness | very dark (24%) |
| Chroma | close to neutral grey (0.030) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.26:1 |
| White text | 16.64:1 |
Values
| HEX | #271A26 |
| RGB | rgb(39, 26, 38) |
| HSL | hsl(305, 20%, 13%) |
| OKLCH | oklch(23.9% 0.03 329.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 #271A26 | 16.64:1 | AAA | Lc -106.0 | Preferred for body text |
| Black text on #271A26 | 1.26:1 | Fails | Lc 0.0 | Not readable |
| #271A26 text on white | 16.64:1 | AAA | Lc 103.5 | Preferred for body text |
| #271A26 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
#F7F4F7
oklch(97% 0.005 325.6)
-
Step 100
100
#EEE7ED
oklch(93.5% 0.011 330.2)
-
Step 200
200
#E1D5DF
oklch(88.6% 0.019 331.1)
-
Step 300
300
#CEB9CC
oklch(80.9% 0.035 328.9)
-
Step 400
400
#B594B2
oklch(70.6% 0.057 329.1)
-
Step 500
500
#A27A9F
oklch(63.1% 0.072 328.9)
-
Step 600
600
#8D638A
oklch(55.7% 0.077 329)
-
Step 700
700
#785275
oklch(49.2% 0.072 329.3)
-
Step 800
800
#61435F
oklch(42.7% 0.059 328.8)
-
Step 900
900
#50394E
oklch(37.8% 0.046 329.4)
-
Step 950
950 (this color)
#271A26
oklch(23.9% 0.03 329.1)
#271A26 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) | #191D26 | 0.028 |
| Deuteranopia (no green cones) | #1C1F26 | 0.026 |
| Tritanopia (no blue cones) | #281B1E | 0.017 |
| Achromatopsia (no color) | #1E1E1E | 0.030 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #271A26
#271A26
oklch(23.9% 0.03 329.1)
- #152317
#152317
oklch(23.9% 0.03 148.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 #271A26, 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.038
- Rich Black #0D1B2A ΔE 0.046
- Oxford Blue #1B263B ΔE 0.051
- Dark Brown #341C02 ΔE 0.066
- Eggplant #380835 ΔE 0.066
- Aubergine #3D0734 ΔE 0.071
- Space Cadet #2B2D42 ΔE 0.072
Use #271A26 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.