#31383F#31383F
#31383F is a dark, near-neutral cyan. Relative luminance 0.038; OKLCH L 33.7% C 0.016 H 248.3°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #31383F |
|---|---|
| RGB | rgb(49, 56, 63) |
| HSL | hsl(210, 13%, 22%) |
| HSV | hsv(210, 22%, 25%) |
| CMYK | cmyk(22.2%, 11.1%, 0%, 75.3%) |
| CIE-LAB | lab(23.14, -1.12, -5.34) |
| CIE-LCH | lch(23.14, 5.46, 258.17°) |
| OKLab | oklab(33.69% -0.0058 -0.0145) |
| OKLCH | oklch(33.69% 0.016 248.3) |
| XYZ | xyz(3.5778, 3.8401, 5.2544) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Gunmetal
#2A3439
ΔE00 2.80
Onyx
#353839
ΔE00 3.73
Dark Grey
#363737
ΔE00 4.68
Charcoal Grey
#3C4142
ΔE00 4.68
Charcoal (survey)
#343837
ΔE00 4.98
Charcoal
#36454F
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31383F #3F3831
analogous
#313F3F #31383F #31313F
triadic
#31383F #3F3138 #383F31
tetradic
#31383F #3F313F #3F3831 #313F31
square
#31383F #3F313F #3F3831 #313F31
split-complementary
#31383F #3F3131 #3F3F31
monochromatic
#0D0F11 #16191D #31383F #4C5761 #677584
Accessibility & contrast
On white
11.88
#31383F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#31383F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31383F
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31383F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31383F | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35383F
Deuteranopia (green-blind)
#34373F
Tritanopia (blue-blind)
#2D3A3A
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #31383f; /* rgb */ color: rgb(49, 56, 63); /* oklch */ color: oklch(33.7% 0.016 248.3);
Tailwind
colors: {
custom: {
50: '#696e74',
500: '#31383f',
950: '#000000',
},
}SCSS
$custom: #31383f; $custom-light: #696e74; $custom-dark: #000000;
JSON
{
"hex": "#31383f",
"rgb": {
"r": 49,
"g": 56,
"b": 63
},
"hsl": {
"h": 210,
"s": 12.5,
"l": 21.961
},
"oklch": {
"l": 0.33691,
"c": 0.01559,
"h": 248.3
},
"luminance": 0.0384
}Semantic roles & 50–950 ramp
primary
#31383F
secondary
#6F665D
accent
#9472B5
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060708
muted
#7A7A7B