#313AB0#313AB0
#313AB0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.184 H 272.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #313AB0 |
|---|---|
| RGB | rgb(49, 58, 176) |
| HSL | hsl(236, 56%, 44%) |
| HSV | hsv(236, 72%, 69%) |
| CMYK | cmyk(72.2%, 67%, 0%, 31%) |
| CIE-LAB | lab(31.38, 36.57, -63.70) |
| CIE-LCH | lch(31.38, 73.45, 299.86°) |
| OKLab | oklab(42.33% 0.0071 -0.1841) |
| OKLCH | oklch(42.33% 0.184 272.2) |
| XYZ | xyz(10.6135, 6.8126, 41.8215) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.78
Blue Blue
#2242C7
ΔE00 3.86
Ocean Blue
#4F42B5
ΔE00 4.35
Blueberry
#464196
ΔE00 5.31
Blue With A Hint Of Purple
#533CC6
ΔE00 5.57
Blurple
#5539CC
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313AB0 #B0A731
analogous
#317AB0 #313AB0 #6831B0
triadic
#313AB0 #B0313A #3AB031
tetradic
#313AB0 #B0317A #B0A731 #31B068
square
#313AB0 #B0317A #B0A731 #31B068
split-complementary
#313AB0 #B06831 #7AB031
monochromatic
#161A50 #242A80 #313AB0 #5059CE #8086DC
Accessibility & contrast
On white
8.89
#313AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#313AB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313AB0
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313AB0 | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #313ab0; /* rgb */ color: rgb(49, 58, 176); /* oklch */ color: oklch(42.3% 0.184 272.2);
Tailwind
colors: {
custom: {
50: '#7c70c9',
500: '#313ab0',
950: '#000000',
},
}SCSS
$custom: #313ab0; $custom-light: #7c70c9; $custom-dark: #000000;
JSON
{
"hex": "#313ab0",
"rgb": {
"r": 49,
"g": 58,
"b": 176
},
"hsl": {
"h": 235.748,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.42333,
"c": 0.18427,
"h": 272.2
},
"luminance": 0.06814
}Semantic roles & 50–950 ramp
primary
#313AB0
secondary
#C5BF78
accent
#D548E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82