#31366E#31366E
#31366E is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.096 H 276.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #31366E |
|---|---|
| RGB | rgb(49, 54, 110) |
| HSL | hsl(235, 38%, 31%) |
| HSV | hsv(235, 55%, 43%) |
| CMYK | cmyk(55.5%, 50.9%, 0%, 56.9%) |
| CIE-LAB | lab(25.00, 15.47, -33.32) |
| CIE-LCH | lch(25.00, 36.73, 294.90°) |
| OKLab | oklab(35.94% 0.011 -0.0949) |
| OKLCH | oklch(35.94% 0.096 276.6) |
| XYZ | xyz(5.3994, 4.4167, 15.3168) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.31
Marine
#042E60
ΔE00 6.73
Blueberry
#464196
ΔE00 7.53
Navy Blue
#1B2A4A
ΔE00 7.56
Marine Blue
#01386A
ΔE00 7.89
Darkish Blue
#014182
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31366E #6E6931
analogous
#31546E #31366E #4A316E
triadic
#31366E #6E3136 #366E31
tetradic
#31366E #6E3154 #6E6931 #316E4A
square
#31366E #6E3154 #6E6931 #316E4A
split-complementary
#31366E #6E4A31 #546E31
monochromatic
#0B0C19 #1E2144 #31366E #444B98 #6168B9
Accessibility & contrast
On white
11.15
#31366E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#31366E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31366E
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31366E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31366E | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3E70
Deuteranopia (green-blind)
#15396D
Tritanopia (blue-blind)
#16424C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #31366e; /* rgb */ color: rgb(49, 54, 110); /* oklch */ color: oklch(35.9% 0.096 276.6);
Tailwind
colors: {
custom: {
50: '#6e6c98',
500: '#31366e',
950: '#000000',
},
}SCSS
$custom: #31366e; $custom-light: #6e6c98; $custom-dark: #000000;
JSON
{
"hex": "#31366e",
"rgb": {
"r": 49,
"g": 54,
"b": 110
},
"hsl": {
"h": 235.082,
"s": 38.365,
"l": 31.176
},
"oklch": {
"l": 0.35944,
"c": 0.09558,
"h": 276.6
},
"luminance": 0.04417
}Semantic roles & 50–950 ramp
primary
#31366E
secondary
#9F9A5C
accent
#C559CE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E