#5A71E7#5A71E7
#5A71E7 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.179 H 271.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5A71E7 |
|---|---|
| RGB | rgb(90, 113, 231) |
| HSL | hsl(230, 75%, 63%) |
| HSV | hsv(230, 61%, 91%) |
| CMYK | cmyk(61%, 51.1%, 0%, 9.4%) |
| CIE-LAB | lab(51.55, 27.20, -62.56) |
| CIE-LCH | lch(51.55, 68.22, 293.50°) |
| OKLab | oklab(59.27% 0.005 -0.1793) |
| OKLCH | oklch(59.27% 0.179 271.6) |
| XYZ | xyz(24.5406, 19.7514, 78.1050) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.78
Cornflower
#6A79F7
ΔE00 4.03
Royal Blue
#4169E1
ΔE00 4.11
Lightish Blue
#3D7AFD
ΔE00 5.30
Bright Blue
#0165FC
ΔE00 6.20
Cerulean Blue
#056EEE
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A71E7 #E7D05A
analogous
#5AB7E7 #5A71E7 #8A5AE7
triadic
#5A71E7 #E75A71 #71E75A
tetradic
#5A71E7 #E75AB7 #E7D05A #5AE78A
square
#5A71E7 #E75AB7 #E7D05A #5AE78A
split-complementary
#5A71E7 #E78A5A #B7E75A
monochromatic
#1931AD #2543DF #5A71E7 #8F9FEF #C5CDF7
Accessibility & contrast
On white
4.24
#5A71E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#5A71E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A71E7
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A71E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A71E7 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C81EB
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #5a71e7; /* rgb */ color: rgb(90, 113, 231); /* oklch */ color: oklch(59.3% 0.179 271.6);
Tailwind
colors: {
custom: {
50: '#9599ef',
500: '#5a71e7',
950: '#000000',
},
}SCSS
$custom: #5a71e7; $custom-light: #9599ef; $custom-dark: #000000;
JSON
{
"hex": "#5a71e7",
"rgb": {
"r": 90,
"g": 113,
"b": 231
},
"hsl": {
"h": 230.213,
"s": 74.603,
"l": 62.941
},
"oklch": {
"l": 0.59266,
"c": 0.17935,
"h": 271.6
},
"luminance": 0.19753
}Semantic roles & 50–950 ramp
primary
#5A71E7
secondary
#E8DFB5
accent
#B60FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85