#5A70BC#5A70BC
#5A70BC is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.121 H 270.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5A70BC |
|---|---|
| RGB | rgb(90, 112, 188) |
| HSL | hsl(227, 42%, 55%) |
| HSV | hsv(227, 52%, 74%) |
| CMYK | cmyk(52.1%, 40.4%, 0%, 26.3%) |
| CIE-LAB | lab(48.75, 13.69, -42.58) |
| CIE-LCH | lch(48.75, 44.73, 287.83°) |
| OKLab | oklab(56.31% 0 -0.1206) |
| OKLCH | oklch(56.31% 0.121 270) |
| XYZ | xyz(19.0848, 17.3916, 49.9184) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.77
French Blue
#436BAD
ΔE00 4.96
Royal Blue
#4169E1
ΔE00 5.65
Cadet Blue
#4E7496
ΔE00 6.99
Dull Blue
#49759C
ΔE00 7.21
Slate Blue (survey)
#5B7C99
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A70BC #BCA65A
analogous
#5AA1BC #5A70BC #755ABC
triadic
#5A70BC #BC5A70 #70BC5A
tetradic
#5A70BC #BC5AA1 #BCA65A #5ABC75
square
#5A70BC #BC5AA1 #BCA65A #5ABC75
split-complementary
#5A70BC #BC755A #A1BC5A
monochromatic
#2D3C6F #3F539A #5A70BC #8696CE #B1BBDF
Accessibility & contrast
On white
4.69
#5A70BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#5A70BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A70BC
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A70BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A70BC | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#2D808D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5a70bc; /* rgb */ color: rgb(90, 112, 188); /* oklch */ color: oklch(56.3% 0.121 270.0);
Tailwind
colors: {
custom: {
50: '#8f98d0',
500: '#5a70bc',
950: '#000000',
},
}SCSS
$custom: #5a70bc; $custom-light: #8f98d0; $custom-dark: #000000;
JSON
{
"hex": "#5a70bc",
"rgb": {
"r": 90,
"g": 112,
"b": 188
},
"hsl": {
"h": 226.531,
"s": 42.241,
"l": 54.51
},
"oklch": {
"l": 0.56309,
"c": 0.12061,
"h": 270
},
"luminance": 0.17393
}Semantic roles & 50–950 ramp
primary
#5A70BC
secondary
#CEC4A4
accent
#B656D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82