#313DAE#313DAE
#313DAE is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.178 H 271.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #313DAE |
|---|---|
| RGB | rgb(49, 61, 174) |
| HSL | hsl(234, 56%, 44%) |
| HSV | hsv(234, 72%, 68%) |
| CMYK | cmyk(71.8%, 64.9%, 0%, 31.8%) |
| CIE-LAB | lab(31.91, 33.96, -61.63) |
| CIE-LCH | lch(31.91, 70.37, 298.85°) |
| OKLab | oklab(42.67% 0.0052 -0.1781) |
| OKLCH | oklch(42.67% 0.178 271.7) |
| XYZ | xyz(10.5728, 7.0454, 40.8389) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.90
Blue Blue
#2242C7
ΔE00 3.62
Ocean Blue
#4F42B5
ΔE00 4.31
Blueberry
#464196
ΔE00 4.89
Cobalt
#0047AB
ΔE00 5.78
Blue With A Hint Of Purple
#533CC6
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313DAE #AEA231
analogous
#317BAE #313DAE #6331AE
triadic
#313DAE #AE313D #3DAE31
tetradic
#313DAE #AE317B #AEA231 #31AE63
square
#313DAE #AE317B #AEA231 #31AE63
split-complementary
#313DAE #AE6331 #7BAE31
monochromatic
#161C4E #242C7E #313DAE #4F5BCD #7F87DB
Accessibility & contrast
On white
8.72
#313DAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#313DAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313DAE
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313DAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313DAE | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #313dae; /* rgb */ color: rgb(49, 61, 174); /* oklch */ color: oklch(42.7% 0.178 271.7);
Tailwind
colors: {
custom: {
50: '#7b72c7',
500: '#313dae',
950: '#000000',
},
}SCSS
$custom: #313dae; $custom-light: #7b72c7; $custom-dark: #000000;
JSON
{
"hex": "#313dae",
"rgb": {
"r": 49,
"g": 61,
"b": 174
},
"hsl": {
"h": 234.24,
"s": 56.054,
"l": 43.725
},
"oklch": {
"l": 0.42667,
"c": 0.17814,
"h": 271.7
},
"luminance": 0.07046
}Semantic roles & 50–950 ramp
primary
#313DAE
secondary
#C4BC77
accent
#D148DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82