#212331
Closest named color: Dark (#1B2431). oklch(26.1% 0.026 278.1), rgb(33, 35, 49).
Aa
White text reads best on this color (15.56:1).
About this color
#212331 is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.026. 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.56:1.
| Hue family | Neutrals |
| Lightness | dark (26%) |
| Chroma | close to neutral grey (0.026) |
| Temperature | neutral |
| Nearest name | Dark (#1B2431) |
| Black text | 1.34:1 |
| White text | 15.56:1 |
Values
| HEX | #212331 |
| RGB | rgb(33, 35, 49) |
| HSL | hsl(233, 20%, 16%) |
| OKLCH | oklch(26.1% 0.026 278.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 #212331 | 15.56:1 | AAA | Lc -105.2 | Preferred for body text |
| Black text on #212331 | 1.34:1 | Fails | Lc 0.0 | Not readable |
| #212331 text on white | 15.56:1 | AAA | Lc 102.5 | Preferred for body text |
| #212331 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
#E8E9F0
oklch(93.5% 0.009 279.7)
-
Step 200
200
#D6D8E5
oklch(88.5% 0.018 279)
-
Step 300
300
#BBBFD5
oklch(80.8% 0.031 277.5)
-
Step 400
400
#999EC0
oklch(70.7% 0.05 278.5)
-
Step 500
500
#8086B0
oklch(63.1% 0.064 278.1)
-
Step 600
600
#6A6F9C
oklch(55.5% 0.07 279)
-
Step 700
700
#585D85
oklch(49.1% 0.064 278.3)
-
Step 800
800
#484C6C
oklch(42.7% 0.053 278.4)
-
Step 900
900
#3C4058
oklch(37.8% 0.041 276.9)
-
Step 950
950 (this color)
#212331
oklch(26.1% 0.026 278.1)
#212331 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) | #1F2432 | 0.004 |
| Deuteranopia (no green cones) | #1E2331 | 0.005 |
| Tritanopia (no blue cones) | #1D2628 | 0.024 |
| Achromatopsia (no color) | #242424 | 0.026 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #212331
#212331
oklch(26.1% 0.026 278.1)
- #272415
#272415
oklch(25.9% 0.026 98.2)
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 #212331, 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.019
- Oxford Blue #1B263B ΔE 0.020
- Space Cadet #2B2D42 ΔE 0.046
- Rich Black #0D1B2A ΔE 0.046
- Gunmetal #293241 ΔE 0.056
- Dark Brown #341C02 ΔE 0.078
- Prussian Blue #1D3557 ΔE 0.080
Use #212331 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.