#212331#212331
#212331 is a dark, muted blue. Relative luminance 0.017; OKLCH L 26.1% C 0.026 H 278.1°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).
Color values
| HEX | #212331 |
|---|---|
| RGB | rgb(33, 35, 49) |
| HSL | hsl(233, 20%, 16%) |
| HSV | hsv(233, 33%, 19%) |
| CMYK | cmyk(32.7%, 28.6%, 0%, 80.8%) |
| CIE-LAB | lab(14.10, 3.10, -9.49) |
| CIE-LCH | lch(14.10, 9.98, 288.09°) |
| OKLab | oklab(26.06% 0.0037 -0.0261) |
| OKLCH | oklch(26.06% 0.026 278.1) |
| XYZ | xyz(1.7825, 1.7471, 3.1484) |
| Luminance | 0.0175 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 4.08
Navy Blue
#1B2A4A
ΔE00 7.86
Gunmetal
#2A3439
ΔE00 9.85
Onyx
#353839
ΔE00 10.60
Dark Grey
#363737
ΔE00 10.61
Navy (survey)
#01153E
ΔE00 11.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212331 #312F21
analogous
#212B31 #212331 #272131
triadic
#212331 #312123 #233121
tetradic
#212331 #31212B #312F21 #213127
square
#212331 #31212B #312F21 #213127
split-complementary
#212331 #312721 #2B3121
monochromatic
#0C0D12 #0C0D12 #212331 #3A3D56 #52577A
Accessibility & contrast
On white
15.56
#212331 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#212331 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212331
15.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212331 | 1.00 | 15.56 | 1.35 | 15.56 |
| #FFFFFF | 15.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2432
Deuteranopia (green-blind)
#1E2331
Tritanopia (blue-blind)
#1D2628
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #212331; /* rgb */ color: rgb(33, 35, 49); /* oklch */ color: oklch(26.1% 0.026 278.1);
Tailwind
colors: {
custom: {
50: '#5c5d69',
500: '#212331',
950: '#000000',
},
}SCSS
$custom: #212331; $custom-light: #5c5d69; $custom-dark: #000000;
JSON
{
"hex": "#212331",
"rgb": {
"r": 33,
"g": 35,
"b": 49
},
"hsl": {
"h": 232.5,
"s": 19.512,
"l": 16.078
},
"oklch": {
"l": 0.26061,
"c": 0.02641,
"h": 278.1
},
"luminance": 0.01747
}Semantic roles & 50–950 ramp
primary
#212331
secondary
#63604B
accent
#B26CBC
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A