#313E90#313E90
#313E90 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.135 H 272.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #313E90 |
|---|---|
| RGB | rgb(49, 62, 144) |
| HSL | hsl(232, 49%, 38%) |
| HSV | hsv(232, 66%, 56%) |
| CMYK | cmyk(66%, 56.9%, 0%, 43.5%) |
| CIE-LAB | lab(29.69, 22.38, -47.09) |
| CIE-LCH | lch(29.69, 52.13, 295.42°) |
| OKLab | oklab(40.25% 0.0049 -0.1353) |
| OKLCH | oklch(40.25% 0.135 272.1) |
| XYZ | xyz(8.0216, 6.1111, 27.1370) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.67
Sapphire (survey)
#2138AB
ΔE00 4.70
Darkslateblue
#483D8B
ΔE00 4.71
Cobalt (survey)
#1E488F
ΔE00 5.47
Cobalt
#0047AB
ΔE00 6.04
Darkish Blue
#014182
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313E90 #908331
analogous
#316E90 #313E90 #533190
triadic
#313E90 #90313E #3E9031
tetradic
#313E90 #90316E #908331 #319053
square
#313E90 #90316E #908331 #319053
split-complementary
#313E90 #905331 #6E9031
monochromatic
#121735 #212A62 #313E90 #4152BE #6E7BCE
Accessibility & contrast
On white
9.45
#313E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#313E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313E90
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313E90 | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #313e90; /* rgb */ color: rgb(49, 62, 144); /* oklch */ color: oklch(40.3% 0.135 272.1);
Tailwind
colors: {
custom: {
50: '#7473b1',
500: '#313e90',
950: '#000000',
},
}SCSS
$custom: #313e90; $custom-light: #7473b1; $custom-dark: #000000;
JSON
{
"hex": "#313e90",
"rgb": {
"r": 49,
"g": 62,
"b": 144
},
"hsl": {
"h": 231.789,
"s": 49.223,
"l": 37.843
},
"oklch": {
"l": 0.40253,
"c": 0.13543,
"h": 272.1
},
"luminance": 0.06112
}Semantic roles & 50–950 ramp
primary
#313E90
secondary
#B5AB68
accent
#C64FD9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80