#313696#313696
#313696 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.154 H 274.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #313696 |
|---|---|
| RGB | rgb(49, 54, 150) |
| HSL | hsl(237, 51%, 39%) |
| HSV | hsv(237, 67%, 59%) |
| CMYK | cmyk(67.3%, 64%, 0%, 41.2%) |
| CIE-LAB | lab(28.09, 29.87, -53.36) |
| CIE-LCH | lch(28.09, 61.15, 299.24°) |
| OKLab | oklab(39.22% 0.012 -0.1539) |
| OKLCH | oklch(39.22% 0.154 274.5) |
| XYZ | xyz(8.0890, 5.4926, 29.4821) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.33
Blueberry
#464196
ΔE00 4.15
Darkslateblue
#483D8B
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 6.68
Blue Blue
#2242C7
ΔE00 7.40
Cobalt
#0047AB
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313696 #969131
analogous
#316996 #313696 #5F3196
triadic
#313696 #963136 #369631
tetradic
#313696 #963169 #969131 #31965F
square
#313696 #963169 #969131 #31965F
split-complementary
#313696 #965F31 #699631
monochromatic
#13153A #222568 #313696 #4349C1 #7176D1
Accessibility & contrast
On white
10.01
#313696 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#313696 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313696
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313696 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313696 | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #313696; /* rgb */ color: rgb(49, 54, 150); /* oklch */ color: oklch(39.2% 0.154 274.5);
Tailwind
colors: {
custom: {
50: '#766db6',
500: '#313696',
950: '#000000',
},
}SCSS
$custom: #313696; $custom-light: #766db6; $custom-dark: #000000;
JSON
{
"hex": "#313696",
"rgb": {
"r": 49,
"g": 54,
"b": 150
},
"hsl": {
"h": 237.03,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.39222,
"c": 0.15434,
"h": 274.5
},
"luminance": 0.05493
}Semantic roles & 50–950 ramp
primary
#313696
secondary
#B8B46A
accent
#D34EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80