#313E96#313E96
#313E96 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.144 H 272.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #313E96 |
|---|---|
| RGB | rgb(49, 62, 150) |
| HSL | hsl(232, 51%, 39%) |
| HSV | hsv(232, 67%, 59%) |
| CMYK | cmyk(67.3%, 58.7%, 0%, 41.2%) |
| CIE-LAB | lab(30.16, 24.58, -50.01) |
| CIE-LCH | lch(30.16, 55.72, 296.18°) |
| OKLab | oklab(40.75% 0.0051 -0.1439) |
| OKLCH | oklch(40.75% 0.144 272) |
| XYZ | xyz(8.4924, 6.2995, 29.6166) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.50
Sapphire (survey)
#2138AB
ΔE00 3.83
Darkslateblue
#483D8B
ΔE00 4.89
Cobalt
#0047AB
ΔE00 5.65
Cobalt (survey)
#1E488F
ΔE00 5.73
Ocean Blue
#4F42B5
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313E96 #968931
analogous
#317196 #313E96 #573196
triadic
#313E96 #96313E #3E9631
tetradic
#313E96 #963171 #968931 #319657
square
#313E96 #963171 #968931 #319657
split-complementary
#313E96 #965731 #719631
monochromatic
#13183A #222B68 #313E96 #4353C1 #717DD1
Accessibility & contrast
On white
9.29
#313E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#313E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313E96
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313E96 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #313e96; /* rgb */ color: rgb(49, 62, 150); /* oklch */ color: oklch(40.7% 0.144 272.0);
Tailwind
colors: {
custom: {
50: '#7573b6',
500: '#313e96',
950: '#000000',
},
}SCSS
$custom: #313e96; $custom-light: #7573b6; $custom-dark: #000000;
JSON
{
"hex": "#313e96",
"rgb": {
"r": 49,
"g": 62,
"b": 150
},
"hsl": {
"h": 232.277,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.40746,
"c": 0.14402,
"h": 272
},
"luminance": 0.063
}Semantic roles & 50–950 ramp
primary
#313E96
secondary
#B8AE6A
accent
#C84EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80