#313CAE#313CAE
#313CAE is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.179 H 271.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #313CAE |
|---|---|
| RGB | rgb(49, 60, 174) |
| HSL | hsl(235, 56%, 44%) |
| HSV | hsv(235, 72%, 68%) |
| CMYK | cmyk(71.8%, 65.5%, 0%, 31.8%) |
| CIE-LAB | lab(31.67, 34.59, -62.03) |
| CIE-LCH | lch(31.67, 71.02, 299.15°) |
| OKLab | oklab(42.49% 0.0059 -0.1792) |
| OKLCH | oklch(42.49% 0.179 271.9) |
| XYZ | xyz(10.5199, 6.9396, 40.8213) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.77
Blue Blue
#2242C7
ΔE00 3.75
Ocean Blue
#4F42B5
ΔE00 4.34
Blueberry
#464196
ΔE00 4.95
Blue With A Hint Of Purple
#533CC6
ΔE00 5.86
Cobalt
#0047AB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313CAE #AEA331
analogous
#317AAE #313CAE #6431AE
triadic
#313CAE #AE313C #3CAE31
tetradic
#313CAE #AE317A #AEA331 #31AE64
square
#313CAE #AE317A #AEA331 #31AE64
split-complementary
#313CAE #AE6431 #7AAE31
monochromatic
#161B4E #242C7E #313CAE #4F5ACD #7F87DB
Accessibility & contrast
On white
8.79
#313CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#313CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313CAE
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313CAE | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #313cae; /* rgb */ color: rgb(49, 60, 174); /* oklch */ color: oklch(42.5% 0.179 271.9);
Tailwind
colors: {
custom: {
50: '#7b72c7',
500: '#313cae',
950: '#000000',
},
}SCSS
$custom: #313cae; $custom-light: #7b72c7; $custom-dark: #000000;
JSON
{
"hex": "#313cae",
"rgb": {
"r": 49,
"g": 60,
"b": 174
},
"hsl": {
"h": 234.72,
"s": 56.054,
"l": 43.725
},
"oklch": {
"l": 0.4249,
"c": 0.17932,
"h": 271.9
},
"luminance": 0.06941
}Semantic roles & 50–950 ramp
primary
#313CAE
secondary
#C4BD77
accent
#D248DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82