#31376F#31376F
#31376F is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.096 H 275.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #31376F |
|---|---|
| RGB | rgb(49, 55, 111) |
| HSL | hsl(234, 39%, 31%) |
| HSV | hsv(234, 56%, 44%) |
| CMYK | cmyk(55.9%, 50.5%, 0%, 56.5%) |
| CIE-LAB | lab(25.36, 15.13, -33.39) |
| CIE-LCH | lch(25.36, 36.66, 294.38°) |
| OKLab | oklab(36.24% 0.0099 -0.0951) |
| OKLCH | oklch(36.24% 0.096 275.9) |
| XYZ | xyz(5.5011, 4.5327, 15.6209) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.24
Marine
#042E60
ΔE00 6.68
Blueberry
#464196
ΔE00 7.36
Navy Blue
#1B2A4A
ΔE00 7.66
Marine Blue
#01386A
ΔE00 7.67
Darkish Blue
#014182
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31376F #6F6931
analogous
#31566F #31376F #4A316F
triadic
#31376F #6F3137 #376F31
tetradic
#31376F #6F3156 #6F6931 #316F4A
square
#31376F #6F3156 #6F6931 #316F4A
split-complementary
#31376F #6F4A31 #566F31
monochromatic
#0C0D1A #1E2245 #31376F #444C99 #616AB9
Accessibility & contrast
On white
11.01
#31376F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#31376F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31376F
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31376F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31376F | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#163A6E
Tritanopia (blue-blind)
#14434D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #31376f; /* rgb */ color: rgb(49, 55, 111); /* oklch */ color: oklch(36.2% 0.096 275.9);
Tailwind
colors: {
custom: {
50: '#6e6d99',
500: '#31376f',
950: '#000000',
},
}SCSS
$custom: #31376f; $custom-light: #6e6d99; $custom-dark: #000000;
JSON
{
"hex": "#31376f",
"rgb": {
"r": 49,
"g": 55,
"b": 111
},
"hsl": {
"h": 234.194,
"s": 38.75,
"l": 31.373
},
"oklch": {
"l": 0.36235,
"c": 0.09565,
"h": 275.9
},
"luminance": 0.04533
}Semantic roles & 50–950 ramp
primary
#31376F
secondary
#A0995C
accent
#C359CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E