#31241B
Closest named color: Dark Brown (#341C02). oklch(27.3% 0.025 56.1), rgb(49, 36, 27).
Aa
White text reads best on this color (15.01:1).
About this color
#31241B is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.035 away. White text reads best on it, at 15.01:1.
| Hue family | Neutrals |
| Lightness | dark (27%) |
| Chroma | close to neutral grey (0.025) |
| Temperature | neutral |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.39:1 |
| White text | 15.01:1 |
Values
| HEX | #31241B |
| RGB | rgb(49, 36, 27) |
| HSL | hsl(25, 29%, 15%) |
| OKLCH | oklch(27.3% 0.025 56.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 #31241B | 15.01:1 | AAA | Lc -104.7 | Preferred for body text |
| Black text on #31241B | 1.39:1 | Fails | Lc 0.0 | Not readable |
| #31241B text on white | 15.01:1 | AAA | Lc 101.9 | Preferred for body text |
| #31241B text on black | 1.39: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
#F8F5F3
oklch(97.2% 0.004 56.4)
-
Step 100
100
#EFE8E4
oklch(93.5% 0.009 52.1)
-
Step 200
200
#E2D7CF
oklch(88.6% 0.016 58.6)
-
Step 300
300
#D1BCAE
oklch(80.9% 0.031 55.9)
-
Step 400
400
#B99984
oklch(70.6% 0.049 55)
-
Step 500
500
#A78065
oklch(63.1% 0.062 56)
-
Step 600
600
#92694C
oklch(55.6% 0.067 56.1)
-
Step 700
700
#7C573D
oklch(49% 0.063 55.8)
-
Step 800
800
#654833
oklch(42.8% 0.051 56.8)
-
Step 900
900
#523C2D
oklch(37.6% 0.039 55.5)
-
Step 950
950 (this color)
#31241B
oklch(27.3% 0.025 56.1)
#31241B 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) | #28251A | 0.018 |
| Deuteranopia (no green cones) | #2B281B | 0.017 |
| Tritanopia (no blue cones) | #352222 | 0.018 |
| Achromatopsia (no color) | #272727 | 0.025 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31241B
#31241B
oklch(27.3% 0.025 56.1)
- #1B2932
#1B2932
oklch(27.2% 0.025 237.1)
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 #31241B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.035
- Jet #212529 ΔE 0.036
- Chocolate Brown #411900 ΔE 0.047
- Dark #1B2431 ΔE 0.054
- Pakistan Green #283618 ΔE 0.065
- Oxford Blue #1B263B ΔE 0.066
- Space Cadet #2B2D42 ΔE 0.067
- Gunmetal #293241 ΔE 0.069
Use #31241B 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.