#313EB0#313EB0
#313EB0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.180 H 271.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #313EB0 |
|---|---|
| RGB | rgb(49, 62, 176) |
| HSL | hsl(234, 56%, 44%) |
| HSV | hsv(234, 72%, 69%) |
| CMYK | cmyk(72.2%, 64.8%, 0%, 31%) |
| CIE-LAB | lab(32.33, 34.04, -62.14) |
| CIE-LCH | lch(32.33, 70.85, 298.71°) |
| OKLab | oklab(43.03% 0.0044 -0.1795) |
| OKLCH | oklch(43.03% 0.18 271.4) |
| XYZ | xyz(10.8231, 7.2317, 41.8913) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.16
Blue Blue
#2242C7
ΔE00 3.27
Ocean Blue
#4F42B5
ΔE00 4.21
Blueberry
#464196
ΔE00 5.05
Cobalt
#0047AB
ΔE00 5.62
Blue With A Hint Of Purple
#533CC6
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313EB0 #B0A331
analogous
#317EB0 #313EB0 #6431B0
triadic
#313EB0 #B0313E #3EB031
tetradic
#313EB0 #B0317E #B0A331 #31B064
square
#313EB0 #B0317E #B0A331 #31B064
split-complementary
#313EB0 #B06431 #7EB031
monochromatic
#161C50 #242D80 #313EB0 #505DCE #8089DC
Accessibility & contrast
On white
8.58
#313EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#313EB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313EB0
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313EB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313EB0 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #313eb0; /* rgb */ color: rgb(49, 62, 176); /* oklch */ color: oklch(43.0% 0.180 271.4);
Tailwind
colors: {
custom: {
50: '#7b73c9',
500: '#313eb0',
950: '#000000',
},
}SCSS
$custom: #313eb0; $custom-light: #7b73c9; $custom-dark: #000000;
JSON
{
"hex": "#313eb0",
"rgb": {
"r": 49,
"g": 62,
"b": 176
},
"hsl": {
"h": 233.858,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.43028,
"c": 0.17959,
"h": 271.4
},
"luminance": 0.07233
}Semantic roles & 50–950 ramp
primary
#313EB0
secondary
#C5BD78
accent
#D048E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82