#21232F
Closest named color: Dark (#1B2431). oklch(26% 0.023 277.3), rgb(33, 35, 47).
Aa
White text reads best on this color (15.60:1).
About this color
#21232F is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.010 away. White text reads best on it, at 15.60:1.
| Hue family | Neutrals |
| Lightness | dark (26%) |
| Chroma | close to neutral grey (0.023) |
| Temperature | neutral |
| Nearest name | Dark (#1B2431) |
| Black text | 1.34:1 |
| White text | 15.60:1 |
Values
| HEX | #21232F |
| RGB | rgb(33, 35, 47) |
| HSL | hsl(231, 18%, 16%) |
| OKLCH | oklch(26% 0.023 277.3) |
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 #21232F | 15.60:1 | AAA | Lc -105.2 | Preferred for body text |
| Black text on #21232F | 1.34:1 | Fails | Lc 0.0 | Not readable |
| #21232F text on white | 15.60:1 | AAA | Lc 102.5 | Preferred for body text |
| #21232F text on black | 1.34: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
#E8E9EF
oklch(93.5% 0.008 278.6)
-
Step 200
200
#D6D8E3
oklch(88.4% 0.015 277.8)
-
Step 300
300
#BCBFD2
oklch(80.8% 0.027 278.6)
-
Step 400
400
#999FBC
oklch(70.7% 0.043 276)
-
Step 500
500
#8187AB
oklch(63.2% 0.055 277.3)
-
Step 600
600
#6A7097
oklch(55.5% 0.061 277.4)
-
Step 700
700
#595E80
oklch(49.1% 0.055 277.7)
-
Step 800
800
#484D68
oklch(42.7% 0.045 276.2)
-
Step 900
900
#3D4055
oklch(37.8% 0.036 278.2)
-
Step 950
950 (this color)
#21232F
oklch(26% 0.023 277.3)
#21232F 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) | #202430 | 0.004 |
| Deuteranopia (no green cones) | #1F232F | 0.003 |
| Tritanopia (no blue cones) | #1E2527 | 0.020 |
| Achromatopsia (no color) | #242424 | 0.023 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #21232F
#21232F
oklch(26% 0.023 277.3)
- #272417
#272417
oklch(25.9% 0.023 96.7)
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 #21232F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark #1B2431 ΔE 0.010
- Jet #212529 ΔE 0.015
- Oxford Blue #1B263B ΔE 0.023
- Rich Black #0D1B2A ΔE 0.046
- Space Cadet #2B2D42 ΔE 0.048
- Gunmetal #293241 ΔE 0.057
- Dark Brown #341C02 ΔE 0.074
- Prussian Blue #1D3557 ΔE 0.083
Use #21232F 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.