#313B90#313B90
#313B90 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.139 H 273.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #313B90 |
|---|---|
| RGB | rgb(49, 59, 144) |
| HSL | hsl(234, 49%, 38%) |
| HSV | hsv(234, 66%, 56%) |
| CMYK | cmyk(66%, 59%, 0%, 43.5%) |
| CIE-LAB | lab(28.89, 24.39, -48.39) |
| CIE-LCH | lch(28.89, 54.19, 296.75°) |
| OKLab | oklab(39.65% 0.0077 -0.1392) |
| OKLCH | oklch(39.65% 0.139 273.2) |
| XYZ | xyz(7.8630, 5.7938, 27.0841) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.62
Sapphire (survey)
#2138AB
ΔE00 4.33
Darkslateblue
#483D8B
ΔE00 4.40
Cobalt (survey)
#1E488F
ΔE00 6.40
Cobalt
#0047AB
ΔE00 6.70
Ocean Blue
#4F42B5
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313B90 #908631
analogous
#316A90 #313B90 #563190
triadic
#313B90 #90313B #3B9031
tetradic
#313B90 #90316A #908631 #319056
square
#313B90 #90316A #908631 #319056
split-complementary
#313B90 #905631 #6A9031
monochromatic
#121635 #212862 #313B90 #414EBE #6E78CE
Accessibility & contrast
On white
9.73
#313B90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#313B90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313B90
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313B90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313B90 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #313b90; /* rgb */ color: rgb(49, 59, 144); /* oklch */ color: oklch(39.7% 0.139 273.2);
Tailwind
colors: {
custom: {
50: '#7470b1',
500: '#313b90',
950: '#000000',
},
}SCSS
$custom: #313b90; $custom-light: #7470b1; $custom-dark: #000000;
JSON
{
"hex": "#313b90",
"rgb": {
"r": 49,
"g": 59,
"b": 144
},
"hsl": {
"h": 233.684,
"s": 49.223,
"l": 37.843
},
"oklch": {
"l": 0.39652,
"c": 0.13943,
"h": 273.2
},
"luminance": 0.05795
}Semantic roles & 50–950 ramp
primary
#313B90
secondary
#B5AD68
accent
#CA4FD9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80