#31376C#31376C
#31376C is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.091 H 276.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #31376C |
|---|---|
| RGB | rgb(49, 55, 108) |
| HSL | hsl(234, 38%, 31%) |
| HSV | hsv(234, 55%, 42%) |
| CMYK | cmyk(54.6%, 49.1%, 0%, 57.6%) |
| CIE-LAB | lab(25.16, 14.07, -31.79) |
| CIE-LCH | lch(25.16, 34.76, 293.87°) |
| OKLab | oklab(36.02% 0.0095 -0.0904) |
| OKLCH | oklch(36.02% 0.091 276) |
| XYZ | xyz(5.3387, 4.4677, 14.7655) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.64
Darkslateblue
#483D8B
ΔE00 6.71
Navy Blue
#1B2A4A
ΔE00 7.27
Marine Blue
#01386A
ΔE00 7.71
Blueberry
#464196
ΔE00 7.88
Darkish Blue
#014182
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31376C #6C6631
analogous
#31546C #31376C #48316C
triadic
#31376C #6C3137 #376C31
tetradic
#31376C #6C3154 #6C6631 #316C48
square
#31376C #6C3154 #6C6631 #316C48
split-complementary
#31376C #6C4831 #546C31
monochromatic
#0B0C18 #1E2242 #31376C #444C96 #6069B7
Accessibility & contrast
On white
11.09
#31376C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#31376C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31376C
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31376C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31376C | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203E6E
Deuteranopia (green-blind)
#19396B
Tritanopia (blue-blind)
#17424C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #31376c; /* rgb */ color: rgb(49, 55, 108); /* oklch */ color: oklch(36.0% 0.091 276.0);
Tailwind
colors: {
custom: {
50: '#6e6d96',
500: '#31376c',
950: '#000000',
},
}SCSS
$custom: #31376c; $custom-light: #6e6d96; $custom-dark: #000000;
JSON
{
"hex": "#31376c",
"rgb": {
"r": 49,
"g": 55,
"b": 108
},
"hsl": {
"h": 233.898,
"s": 37.58,
"l": 30.784
},
"oklch": {
"l": 0.36021,
"c": 0.09092,
"h": 276
},
"luminance": 0.04468
}Semantic roles & 50–950 ramp
primary
#31376C
secondary
#9D965C
accent
#C25ACE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E