#31353E#31353E
#31353E is a dark, near-neutral blue. Relative luminance 0.035; OKLCH L 32.9% C 0.017 H 266.4°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #31353E |
|---|---|
| RGB | rgb(49, 53, 62) |
| HSL | hsl(222, 12%, 22%) |
| HSV | hsv(222, 21%, 24%) |
| CMYK | cmyk(21%, 14.5%, 0%, 75.7%) |
| CIE-LAB | lab(22.11, 0.61, -6.20) |
| CIE-LCH | lch(22.11, 6.23, 275.63°) |
| OKLab | oklab(32.88% -0.001 -0.0168) |
| OKLCH | oklch(32.88% 0.017 266.4) |
| XYZ | xyz(3.4090, 3.5469, 5.0615) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | neutral |
| Family | blue |
Closest named colors
Gunmetal
#2A3439
ΔE00 4.90
Onyx
#353839
ΔE00 5.06
Dark Grey
#363737
ΔE00 5.51
Dark
#1B2431
ΔE00 6.20
Charcoal Grey
#3C4142
ΔE00 6.50
Charcoal (survey)
#343837
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31353E #3E3A31
analogous
#313C3E #31353E #34313E
triadic
#31353E #3E3135 #353E31
tetradic
#31353E #3E313C #3E3A31 #313E34
square
#31353E #3E313C #3E3A31 #313E34
split-complementary
#31353E #3E3431 #3C3E31
monochromatic
#0E0F11 #16181C #31353E #4C5260 #676F82
Accessibility & contrast
On white
12.29
#31353E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#31353E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31353E
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31353E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31353E | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32363E
Deuteranopia (green-blind)
#31343E
Tritanopia (blue-blind)
#2E3738
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #31353e; /* rgb */ color: rgb(49, 53, 62); /* oklch */ color: oklch(32.9% 0.017 266.4);
Tailwind
colors: {
custom: {
50: '#696c73',
500: '#31353e',
950: '#000000',
},
}SCSS
$custom: #31353e; $custom-light: #696c73; $custom-dark: #000000;
JSON
{
"hex": "#31353e",
"rgb": {
"r": 49,
"g": 53,
"b": 62
},
"hsl": {
"h": 221.538,
"s": 11.712,
"l": 21.765
},
"oklch": {
"l": 0.32875,
"c": 0.01686,
"h": 266.4
},
"luminance": 0.03547
}Semantic roles & 50–950 ramp
primary
#31353E
secondary
#6E695D
accent
#A073B5
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060608
muted
#7A7A7B