#313590#313590
#313590 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.147 H 275.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #313590 |
|---|---|
| RGB | rgb(49, 53, 144) |
| HSL | hsl(237, 49%, 38%) |
| HSV | hsv(237, 66%, 56%) |
| CMYK | cmyk(66%, 63.2%, 0%, 43.5%) |
| CIE-LAB | lab(27.33, 28.37, -50.92) |
| CIE-LCH | lch(27.33, 58.29, 299.13°) |
| OKLab | oklab(38.5% 0.0132 -0.1467) |
| OKLCH | oklch(38.5% 0.147 275.1) |
| XYZ | xyz(7.5721, 5.2121, 26.9872) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.21
Blueberry
#464196
ΔE00 4.30
Darkslateblue
#483D8B
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 7.41
Royal
#0C1793
ΔE00 7.84
Cobalt
#0047AB
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313590 #908C31
analogous
#316490 #313590 #5D3190
triadic
#313590 #903135 #359031
tetradic
#313590 #903164 #908C31 #31905D
square
#313590 #903164 #908C31 #31905D
split-complementary
#313590 #905D31 #649031
monochromatic
#121335 #212462 #313590 #4146BE #6E72CE
Accessibility & contrast
On white
10.28
#313590 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#313590 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313590
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313590 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313590 | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #313590; /* rgb */ color: rgb(49, 53, 144); /* oklch */ color: oklch(38.5% 0.147 275.1);
Tailwind
colors: {
custom: {
50: '#756cb1',
500: '#313590',
950: '#000000',
},
}SCSS
$custom: #313590; $custom-light: #756cb1; $custom-dark: #000000;
JSON
{
"hex": "#313590",
"rgb": {
"r": 49,
"g": 53,
"b": 144
},
"hsl": {
"h": 237.474,
"s": 49.223,
"l": 37.843
},
"oklch": {
"l": 0.38501,
"c": 0.1473,
"h": 275.1
},
"luminance": 0.05213
}Semantic roles & 50–950 ramp
primary
#313590
secondary
#B5B268
accent
#D34FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80