#1D1F2E
Closest named color: Dark (#1B2431). oklch(24.4% 0.029 278.2), rgb(29, 31, 46).
Aa
White text reads best on this color (16.30:1).
About this color
#1D1F2E is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.017 away. White text reads best on it, at 16.30:1.
| Hue family | Neutrals |
| Lightness | very dark (24%) |
| Chroma | close to neutral grey (0.029) |
| Temperature | neutral |
| Nearest name | Dark (#1B2431) |
| Black text | 1.28:1 |
| White text | 16.30:1 |
Values
| HEX | #1D1F2E |
| RGB | rgb(29, 31, 46) |
| HSL | hsl(233, 23%, 15%) |
| OKLCH | oklch(24.4% 0.029 278.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 #1D1F2E | 16.30:1 | AAA | Lc -105.8 | Preferred for body text |
| Black text on #1D1F2E | 1.28:1 | Fails | Lc 0.0 | Not readable |
| #1D1F2E text on white | 16.30:1 | AAA | Lc 103.3 | Preferred for body text |
| #1D1F2E text on black | 1.28: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
#F5F5F8
oklch(97.1% 0.004 286.3)
-
Step 100
100
#E8E9F1
oklch(93.6% 0.011 280.5)
-
Step 200
200
#D6D8E6
oklch(88.5% 0.019 279.5)
-
Step 300
300
#BBBFD7
oklch(80.9% 0.034 278.1)
-
Step 400
400
#989EC3
oklch(70.7% 0.054 277.7)
-
Step 500
500
#7F86B4
oklch(63.2% 0.07 277.5)
-
Step 600
600
#696F9F
oklch(55.6% 0.075 278.2)
-
Step 700
700
#575D88
oklch(49.1% 0.069 277.4)
-
Step 800
800
#474C6F
oklch(42.7% 0.058 277.4)
-
Step 900
900
#3C3F5A
oklch(37.7% 0.046 279)
-
Step 950
950 (this color)
#1D1F2E
oklch(24.4% 0.029 278.2)
#1D1F2E 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) | #1B212F | 0.007 |
| Deuteranopia (no green cones) | #1A1F2E | 0.005 |
| Tritanopia (no blue cones) | #192224 | 0.026 |
| Achromatopsia (no color) | #202020 | 0.029 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1D1F2E
#1D1F2E
oklch(24.4% 0.029 278.2)
- #242110
#242110
oklch(24.6% 0.03 99.5)
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 #1D1F2E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark #1B2431 ΔE 0.017
- Jet #212529 ΔE 0.027
- Oxford Blue #1B263B ΔE 0.030
- Rich Black #0D1B2A ΔE 0.031
- Space Cadet #2B2D42 ΔE 0.061
- Gunmetal #293241 ΔE 0.071
- Dark Brown #341C02 ΔE 0.080
- Rich Navy #001219 ΔE 0.081
Use #1D1F2E 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.