#31373F#31373F
#31373F is a dark, near-neutral cyan. Relative luminance 0.037; OKLCH L 33.4% C 0.016 H 255.6°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #31373F |
|---|---|
| RGB | rgb(49, 55, 63) |
| HSL | hsl(214, 13%, 22%) |
| HSV | hsv(214, 22%, 25%) |
| CMYK | cmyk(22.2%, 12.7%, 0%, 75.3%) |
| CIE-LAB | lab(22.81, -0.45, -5.83) |
| CIE-LCH | lch(22.81, 5.85, 265.56°) |
| OKLab | oklab(33.43% -0.0041 -0.0158) |
| OKLCH | oklch(33.43% 0.016 255.6) |
| XYZ | xyz(3.5298, 3.7441, 5.2384) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Gunmetal
#2A3439
ΔE00 3.58
Onyx
#353839
ΔE00 4.24
Dark Grey
#363737
ΔE00 5.01
Charcoal Grey
#3C4142
ΔE00 5.39
Charcoal
#36454F
ΔE00 5.58
Charcoal (survey)
#343837
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31373F #3F3931
analogous
#313E3F #31373F #32313F
triadic
#31373F #3F3137 #373F31
tetradic
#31373F #3F313E #3F3931 #313F32
square
#31373F #3F313E #3F3931 #313F32
split-complementary
#31373F #3F3231 #3E3F31
monochromatic
#0D0F11 #16191D #31373F #4C5561 #677384
Accessibility & contrast
On white
12.01
#31373F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#31373F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31373F
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31373F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31373F | 1.00 | 12.01 | 1.75 | 12.01 |
| #FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34373F
Deuteranopia (green-blind)
#33363F
Tritanopia (blue-blind)
#2D393A
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #31373f; /* rgb */ color: rgb(49, 55, 63); /* oklch */ color: oklch(33.4% 0.016 255.6);
Tailwind
colors: {
custom: {
50: '#696d74',
500: '#31373f',
950: '#000000',
},
}SCSS
$custom: #31373f; $custom-light: #696d74; $custom-dark: #000000;
JSON
{
"hex": "#31373f",
"rgb": {
"r": 49,
"g": 55,
"b": 63
},
"hsl": {
"h": 214.286,
"s": 12.5,
"l": 21.961
},
"oklch": {
"l": 0.33432,
"c": 0.01634,
"h": 255.6
},
"luminance": 0.03744
}Semantic roles & 50–950 ramp
primary
#31373F
secondary
#6F675D
accent
#9972B5
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060708
muted
#7A7A7B