#31363F#31363F
#31363F is a dark, near-neutral blue. Relative luminance 0.036; OKLCH L 33.2% C 0.017 H 262.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #31363F |
|---|---|
| RGB | rgb(49, 54, 63) |
| HSL | hsl(219, 13%, 22%) |
| HSV | hsv(219, 22%, 25%) |
| CMYK | cmyk(22.2%, 14.3%, 0%, 75.3%) |
| CIE-LAB | lab(22.48, 0.21, -6.32) |
| CIE-LCH | lch(22.48, 6.33, 271.94°) |
| OKLab | oklab(33.17% -0.0023 -0.0172) |
| OKLCH | oklch(33.17% 0.017 262.2) |
| XYZ | xyz(3.4828, 3.6501, 5.2227) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Gunmetal
#2A3439
ΔE00 4.47
Onyx
#353839
ΔE00 4.89
Dark Grey
#363737
ΔE00 5.48
Charcoal Grey
#3C4142
ΔE00 6.16
Charcoal
#36454F
ΔE00 6.30
Charcoal (survey)
#343837
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31363F #3F3A31
analogous
#313D3F #31363F #33313F
triadic
#31363F #3F3136 #363F31
tetradic
#31363F #3F313D #3F3A31 #313F33
square
#31363F #3F313D #3F3A31 #313F33
split-complementary
#31363F #3F3331 #3D3F31
monochromatic
#0D0F11 #16181D #31363F #4C5461 #677184
Accessibility & contrast
On white
12.14
#31363F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#31363F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31363F
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31363F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31363F | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33363F
Deuteranopia (green-blind)
#32353F
Tritanopia (blue-blind)
#2E3839
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #31363f; /* rgb */ color: rgb(49, 54, 63); /* oklch */ color: oklch(33.2% 0.017 262.2);
Tailwind
colors: {
custom: {
50: '#696c74',
500: '#31363f',
950: '#000000',
},
}SCSS
$custom: #31363f; $custom-light: #696c74; $custom-dark: #000000;
JSON
{
"hex": "#31363f",
"rgb": {
"r": 49,
"g": 54,
"b": 63
},
"hsl": {
"h": 218.571,
"s": 12.5,
"l": 21.961
},
"oklch": {
"l": 0.33175,
"c": 0.01734,
"h": 262.2
},
"luminance": 0.0365
}Semantic roles & 50–950 ramp
primary
#31363F
secondary
#6F685D
accent
#9D72B5
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060708
muted
#7A7A7B