#31366F#31366F
#31366F is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.097 H 276.6°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #31366F |
|---|---|
| RGB | rgb(49, 54, 111) |
| HSL | hsl(235, 39%, 31%) |
| HSV | hsv(235, 56%, 44%) |
| CMYK | cmyk(55.9%, 51.4%, 0%, 56.5%) |
| CIE-LAB | lab(25.07, 15.82, -33.85) |
| CIE-LCH | lch(25.07, 37.37, 295.05°) |
| OKLab | oklab(36.02% 0.0111 -0.0965) |
| OKLCH | oklch(36.02% 0.097 276.6) |
| XYZ | xyz(5.4541, 4.4386, 15.6052) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.16
Marine
#042E60
ΔE00 6.75
Blueberry
#464196
ΔE00 7.36
Navy Blue
#1B2A4A
ΔE00 7.69
Marine Blue
#01386A
ΔE00 7.88
Darkish Blue
#014182
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31366F #6F6A31
analogous
#31556F #31366F #4B316F
triadic
#31366F #6F3136 #366F31
tetradic
#31366F #6F3155 #6F6A31 #316F4B
square
#31366F #6F3155 #6F6A31 #316F4B
split-complementary
#31366F #6F4B31 #556F31
monochromatic
#0C0D1A #1E2145 #31366F #444B99 #6168B9
Accessibility & contrast
On white
11.12
#31366F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#31366F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31366F
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31366F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31366F | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3E71
Deuteranopia (green-blind)
#14396E
Tritanopia (blue-blind)
#15434D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #31366f; /* rgb */ color: rgb(49, 54, 111); /* oklch */ color: oklch(36.0% 0.097 276.6);
Tailwind
colors: {
custom: {
50: '#6e6c99',
500: '#31366f',
950: '#000000',
},
}SCSS
$custom: #31366f; $custom-light: #6e6c99; $custom-dark: #000000;
JSON
{
"hex": "#31366f",
"rgb": {
"r": 49,
"g": 54,
"b": 111
},
"hsl": {
"h": 235.161,
"s": 38.75,
"l": 31.373
},
"oklch": {
"l": 0.36017,
"c": 0.09714,
"h": 276.6
},
"luminance": 0.04439
}Semantic roles & 50–950 ramp
primary
#31366F
secondary
#A09B5C
accent
#C559CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070E
muted
#7B7A7E