#21212E#21212E
#21212E is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.4% C 0.024 H 284.5°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).
Color values
| HEX | #21212E |
|---|---|
| RGB | rgb(33, 33, 46) |
| HSL | hsl(240, 16%, 15%) |
| HSV | hsv(240, 28%, 18%) |
| CMYK | cmyk(28.3%, 28.3%, 0%, 82%) |
| CIE-LAB | lab(13.28, 3.62, -8.60) |
| CIE-LCH | lch(13.28, 9.33, 292.85°) |
| OKLab | oklab(25.38% 0.0061 -0.0236) |
| OKLCH | oklch(25.38% 0.024 284.5) |
| XYZ | xyz(1.6641, 1.6083, 2.8070) |
| Luminance | 0.0161 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.01
Navy Blue
#1B2A4A
ΔE00 8.79
Gunmetal
#2A3439
ΔE00 10.51
Dark Grey
#363737
ΔE00 10.77
Onyx
#353839
ΔE00 10.90
Almost Black
#070D0D
ΔE00 11.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21212E #2E2E21
analogous
#21272E #21212E #27212E
triadic
#21212E #2E2121 #212E21
tetradic
#21212E #2E2127 #2E2E21 #212E27
square
#21212E #2E2127 #2E2E21 #212E27
split-complementary
#21212E #2E2721 #272E21
monochromatic
#0D0D12 #0D0D12 #21212E #3B3B52 #545475
Accessibility & contrast
On white
15.89
#21212E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#21212E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21212E
15.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21212E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21212E | 1.00 | 15.89 | 1.32 | 15.89 |
| #FFFFFF | 15.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E232F
Deuteranopia (green-blind)
#1D222E
Tritanopia (blue-blind)
#1E2325
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #21212e; /* rgb */ color: rgb(33, 33, 46); /* oklch */ color: oklch(25.4% 0.024 284.5);
Tailwind
colors: {
custom: {
50: '#5c5c66',
500: '#21212e',
950: '#000000',
},
}SCSS
$custom: #21212e; $custom-light: #5c5c66; $custom-dark: #000000;
JSON
{
"hex": "#21212e",
"rgb": {
"r": 33,
"g": 33,
"b": 46
},
"hsl": {
"h": 240,
"s": 16.456,
"l": 15.49
},
"oklch": {
"l": 0.25377,
"c": 0.0244,
"h": 284.5
},
"luminance": 0.01608
}Semantic roles & 50–950 ramp
primary
#21212E
secondary
#5F5F4C
accent
#B96FB9
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A