#313B92#313B92
#313B92 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.142 H 273.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #313B92 |
|---|---|
| RGB | rgb(49, 59, 146) |
| HSL | hsl(234, 50%, 38%) |
| HSV | hsv(234, 66%, 57%) |
| CMYK | cmyk(66.4%, 59.6%, 0%, 42.7%) |
| CIE-LAB | lab(29.04, 25.12, -49.36) |
| CIE-LCH | lch(29.04, 55.39, 296.97°) |
| OKLab | oklab(39.82% 0.0078 -0.1421) |
| OKLCH | oklch(39.82% 0.142 273.1) |
| XYZ | xyz(8.0172, 5.8555, 27.8963) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.56
Sapphire (survey)
#2138AB
ΔE00 4.02
Darkslateblue
#483D8B
ΔE00 4.47
Cobalt (survey)
#1E488F
ΔE00 6.47
Cobalt
#0047AB
ΔE00 6.57
Ocean Blue
#4F42B5
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313B92 #928831
analogous
#316B92 #313B92 #573192
triadic
#313B92 #92313B #3B9231
tetradic
#313B92 #92316B #928831 #319257
square
#313B92 #92316B #928831 #319257
split-complementary
#313B92 #925731 #6B9231
monochromatic
#121636 #222864 #313B92 #414EBF #6F79CF
Accessibility & contrast
On white
9.67
#313B92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#313B92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313B92
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313B92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313B92 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #313b92; /* rgb */ color: rgb(49, 59, 146); /* oklch */ color: oklch(39.8% 0.142 273.1);
Tailwind
colors: {
custom: {
50: '#7570b3',
500: '#313b92',
950: '#000000',
},
}SCSS
$custom: #313b92; $custom-light: #7570b3; $custom-dark: #000000;
JSON
{
"hex": "#313b92",
"rgb": {
"r": 49,
"g": 59,
"b": 146
},
"hsl": {
"h": 233.814,
"s": 49.744,
"l": 38.235
},
"oklch": {
"l": 0.3982,
"c": 0.14228,
"h": 273.1
},
"luminance": 0.05856
}Semantic roles & 50–950 ramp
primary
#313B92
secondary
#B6AE69
accent
#CB4FD9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80