#313C96#313C96
#313C96 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.147 H 272.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #313C96 |
|---|---|
| RGB | rgb(49, 60, 150) |
| HSL | hsl(233, 51%, 39%) |
| HSV | hsv(233, 67%, 59%) |
| CMYK | cmyk(67.3%, 60%, 0%, 41.2%) |
| CIE-LAB | lab(29.63, 25.92, -50.86) |
| CIE-LCH | lch(29.63, 57.09, 297.00°) |
| OKLab | oklab(40.35% 0.0069 -0.1465) |
| OKLCH | oklch(40.35% 0.147 272.7) |
| XYZ | xyz(8.3857, 6.0859, 29.5810) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.49
Sapphire (survey)
#2138AB
ΔE00 3.54
Darkslateblue
#483D8B
ΔE00 4.71
Cobalt
#0047AB
ΔE00 6.12
Cobalt (survey)
#1E488F
ΔE00 6.33
Ocean Blue
#4F42B5
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313C96 #968B31
analogous
#316F96 #313C96 #593196
triadic
#313C96 #96313C #3C9631
tetradic
#313C96 #96316F #968B31 #319659
square
#313C96 #96316F #968B31 #319659
split-complementary
#313C96 #965931 #6F9631
monochromatic
#13173A #222A68 #313C96 #4351C1 #717BD1
Accessibility & contrast
On white
9.47
#313C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#313C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313C96
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313C96 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #313c96; /* rgb */ color: rgb(49, 60, 150); /* oklch */ color: oklch(40.4% 0.147 272.7);
Tailwind
colors: {
custom: {
50: '#7671b6',
500: '#313c96',
950: '#000000',
},
}SCSS
$custom: #313c96; $custom-light: #7671b6; $custom-dark: #000000;
JSON
{
"hex": "#313c96",
"rgb": {
"r": 49,
"g": 60,
"b": 150
},
"hsl": {
"h": 233.465,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.40354,
"c": 0.14663,
"h": 272.7
},
"luminance": 0.06087
}Semantic roles & 50–950 ramp
primary
#313C96
secondary
#B8B06A
accent
#CB4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80