#313C92#313C92
#313C92 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.141 H 272.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #313C92 |
|---|---|
| RGB | rgb(49, 60, 146) |
| HSL | hsl(233, 50%, 38%) |
| HSV | hsv(233, 66%, 57%) |
| CMYK | cmyk(66.4%, 58.9%, 0%, 42.7%) |
| CIE-LAB | lab(29.31, 24.45, -48.93) |
| CIE-LCH | lch(29.31, 54.70, 296.55°) |
| OKLab | oklab(40.02% 0.0068 -0.1408) |
| OKLCH | oklch(40.02% 0.141 272.8) |
| XYZ | xyz(8.0691, 5.9593, 27.9136) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.54
Sapphire (survey)
#2138AB
ΔE00 4.13
Darkslateblue
#483D8B
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 6.16
Cobalt
#0047AB
ΔE00 6.34
Ocean Blue
#4F42B5
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313C92 #928731
analogous
#316C92 #313C92 #563192
triadic
#313C92 #92313C #3C9231
tetradic
#313C92 #92316C #928731 #319256
square
#313C92 #92316C #928731 #319256
split-complementary
#313C92 #925631 #6C9231
monochromatic
#121636 #222964 #313C92 #414FBF #6F7ACF
Accessibility & contrast
On white
9.58
#313C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#313C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313C92
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313C92 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #313c92; /* rgb */ color: rgb(49, 60, 146); /* oklch */ color: oklch(40.0% 0.141 272.8);
Tailwind
colors: {
custom: {
50: '#7571b3',
500: '#313c92',
950: '#000000',
},
}SCSS
$custom: #313c92; $custom-light: #7571b3; $custom-dark: #000000;
JSON
{
"hex": "#313c92",
"rgb": {
"r": 49,
"g": 60,
"b": 146
},
"hsl": {
"h": 233.196,
"s": 49.744,
"l": 38.235
},
"oklch": {
"l": 0.40017,
"c": 0.14097,
"h": 272.8
},
"luminance": 0.0596
}Semantic roles & 50–950 ramp
primary
#313C92
secondary
#B6AD69
accent
#CA4FD9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80