#31393E#31393E
#31393E is a dark, near-neutral cyan. Relative luminance 0.039; OKLCH L 33.9% C 0.014 H 235.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #31393E |
|---|---|
| RGB | rgb(49, 57, 62) |
| HSL | hsl(203, 12%, 22%) |
| HSV | hsv(203, 21%, 24%) |
| CMYK | cmyk(21%, 8.1%, 0%, 75.7%) |
| CIE-LAB | lab(23.43, -2.05, -4.23) |
| CIE-LCH | lch(23.43, 4.70, 244.16°) |
| OKLab | oklab(33.91% -0.0079 -0.0115) |
| OKLCH | oklch(33.91% 0.014 235.3) |
| XYZ | xyz(3.5990, 3.9269, 5.1248) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | neutral |
| Family | cyan |
Closest named colors
Gunmetal
#2A3439
ΔE00 2.00
Onyx
#353839
ΔE00 3.05
Charcoal Grey
#3C4142
ΔE00 3.73
Charcoal (survey)
#343837
ΔE00 3.89
Dark Grey
#363737
ΔE00 4.23
Charcoal
#36454F
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31393E #3E3631
analogous
#313E3D #31393E #31333E
triadic
#31393E #3E3139 #393E31
tetradic
#31393E #3D313E #3E3631 #333E31
square
#31393E #3D313E #3E3631 #333E31
split-complementary
#31393E #3E3133 #3E3D31
monochromatic
#0E1011 #161A1C #31393E #4C5860 #677882
Accessibility & contrast
On white
11.76
#31393E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#31393E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31393E
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31393E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31393E | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37393E
Deuteranopia (green-blind)
#35373E
Tritanopia (blue-blind)
#2E3A3B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #31393e; /* rgb */ color: rgb(49, 57, 62); /* oklch */ color: oklch(33.9% 0.014 235.3);
Tailwind
colors: {
custom: {
50: '#696f73',
500: '#31393e',
950: '#000000',
},
}SCSS
$custom: #31393e; $custom-light: #696f73; $custom-dark: #000000;
JSON
{
"hex": "#31393e",
"rgb": {
"r": 49,
"g": 57,
"b": 62
},
"hsl": {
"h": 203.077,
"s": 11.712,
"l": 21.765
},
"oklch": {
"l": 0.33909,
"c": 0.01394,
"h": 235.3
},
"luminance": 0.03927
}Semantic roles & 50–950 ramp
primary
#31393E
secondary
#6E635D
accent
#8C73B5
background
#F6F6F6
surface
#EBECEC
border
#C6C7C7
text
#060708
muted
#7A7A7B