#21272F#21272F
#21272F is a dark, near-neutral cyan. Relative luminance 0.020; OKLCH L 27.0% C 0.017 H 255.7°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).
Color values
| HEX | #21272F |
|---|---|
| RGB | rgb(33, 39, 47) |
| HSL | hsl(214, 18%, 16%) |
| HSV | hsv(214, 30%, 18%) |
| CMYK | cmyk(29.8%, 17%, 0%, 81.6%) |
| CIE-LAB | lab(15.38, -0.38, -6.12) |
| CIE-LCH | lch(15.38, 6.13, 266.46°) |
| OKLab | oklab(27.03% -0.0043 -0.0167) |
| OKLCH | oklch(27.03% 0.017 255.7) |
| XYZ | xyz(1.8657, 1.9795, 2.9726) |
| Luminance | 0.0198 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 2.96
Gunmetal
#2A3439
ΔE00 5.19
Onyx
#353839
ΔE00 7.03
Dark Grey
#363737
ΔE00 7.38
Charcoal (survey)
#343837
ΔE00 7.92
Dark Blue Grey
#1F3B4D
ΔE00 9.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21272F #2F2921
analogous
#212E2F #21272F #22212F
triadic
#21272F #2F2127 #272F21
tetradic
#21272F #2F212E #2F2921 #212F22
square
#21272F #2F212E #2F2921 #212F22
split-complementary
#21272F #2F2221 #2E2F21
monochromatic
#0D0F12 #0D0F12 #21272F #3A4553 #536377
Accessibility & contrast
On white
15.04
#21272F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#21272F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21272F
15.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21272F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21272F | 1.00 | 15.04 | 1.40 | 15.04 |
| #FFFFFF | 15.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24272F
Deuteranopia (green-blind)
#23262F
Tritanopia (blue-blind)
#1D292A
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #21272f; /* rgb */ color: rgb(33, 39, 47); /* oklch */ color: oklch(27.0% 0.017 255.7);
Tailwind
colors: {
custom: {
50: '#5c6167',
500: '#21272f',
950: '#000000',
},
}SCSS
$custom: #21272f; $custom-light: #5c6167; $custom-dark: #000000;
JSON
{
"hex": "#21272f",
"rgb": {
"r": 33,
"g": 39,
"b": 47
},
"hsl": {
"h": 214.286,
"s": 17.5,
"l": 15.686
},
"oklch": {
"l": 0.27031,
"c": 0.01725,
"h": 255.7
},
"luminance": 0.0198
}Semantic roles & 50–950 ramp
primary
#21272F
secondary
#60574B
accent
#996EBA
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040506
muted
#79797A