#31333E#31333E
#31333E is a dark, near-neutral blue. Relative luminance 0.034; OKLCH L 32.4% C 0.020 H 277.1°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #31333E |
|---|---|
| RGB | rgb(49, 51, 62) |
| HSL | hsl(231, 12%, 22%) |
| HSV | hsv(231, 21%, 24%) |
| CMYK | cmyk(21%, 17.7%, 0%, 75.7%) |
| CIE-LAB | lab(21.46, 1.96, -7.18) |
| CIE-LCH | lch(21.46, 7.44, 285.28°) |
| OKLab | oklab(32.37% 0.0024 -0.0195) |
| OKLCH | oklch(32.37% 0.02 277.1) |
| XYZ | xyz(3.3197, 3.3684, 5.0318) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | neutral |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 6.10
Onyx
#353839
ΔE00 6.65
Dark Grey
#363737
ΔE00 6.83
Gunmetal
#2A3439
ΔE00 6.84
Charcoal (survey)
#343837
ΔE00 8.14
Charcoal Grey
#3C4142
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31333E #3E3C31
analogous
#313A3E #31333E #36313E
triadic
#31333E #3E3133 #333E31
tetradic
#31333E #3E313A #3E3C31 #313E36
square
#31333E #3E313A #3E3C31 #313E36
split-complementary
#31333E #3E3631 #3A3E31
monochromatic
#0E0E11 #16171C #31333E #4C4F60 #676B82
Accessibility & contrast
On white
12.55
#31333E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#31333E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31333E
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31333E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31333E | 1.00 | 12.55 | 1.67 | 12.55 |
| #FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30343F
Deuteranopia (green-blind)
#2F333E
Tritanopia (blue-blind)
#2E3537
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #31333e; /* rgb */ color: rgb(49, 51, 62); /* oklch */ color: oklch(32.4% 0.020 277.1);
Tailwind
colors: {
custom: {
50: '#696a73',
500: '#31333e',
950: '#000000',
},
}SCSS
$custom: #31333e; $custom-light: #696a73; $custom-dark: #000000;
JSON
{
"hex": "#31333e",
"rgb": {
"r": 49,
"g": 51,
"b": 62
},
"hsl": {
"h": 230.769,
"s": 11.712,
"l": 21.765
},
"oklch": {
"l": 0.32366,
"c": 0.01968,
"h": 277.1
},
"luminance": 0.03368
}Semantic roles & 50–950 ramp
primary
#31333E
secondary
#6E6B5D
accent
#AB73B5
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060608
muted
#7A7A7B