#5E71E1#5E71E1
#5E71E1 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.1% C 0.170 H 272.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5E71E1 |
|---|---|
| RGB | rgb(94, 113, 225) |
| HSL | hsl(231, 69%, 63%) |
| HSV | hsv(231, 58%, 88%) |
| CMYK | cmyk(58.2%, 49.8%, 0%, 11.8%) |
| CIE-LAB | lab(51.41, 25.94, -59.41) |
| CIE-LCH | lch(51.41, 64.83, 293.59°) |
| OKLab | oklab(59.1% 0.0085 -0.1699) |
| OKLCH | oklch(59.1% 0.17 272.9) |
| XYZ | xyz(24.1074, 19.6243, 73.7371) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.70
Cornflower
#6A79F7
ΔE00 4.26
Royal Blue
#4169E1
ΔE00 4.36
Lightish Blue
#3D7AFD
ΔE00 6.02
Mediumslateblue
#7B68EE
ΔE00 6.60
Bright Blue
#0165FC
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E71E1 #E1CE5E
analogous
#5EB2E1 #5E71E1 #8D5EE1
triadic
#5E71E1 #E15E71 #71E15E
tetradic
#5E71E1 #E15EB2 #E1CE5E #5EE18D
square
#5E71E1 #E15EB2 #E1CE5E #5EE18D
split-complementary
#5E71E1 #E18D5E #B2E15E
monochromatic
#1F32A6 #2A43D7 #5E71E1 #929EEB #C5CCF4
Accessibility & contrast
On white
4.26
#5E71E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#5E71E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E71E1
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E71E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E71E1 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3680E5
Deuteranopia (green-blind)
#1C75DF
Tritanopia (blue-blind)
#008A9E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #5e71e1; /* rgb */ color: rgb(94, 113, 225); /* oklch */ color: oklch(59.1% 0.170 272.9);
Tailwind
colors: {
custom: {
50: '#9699eb',
500: '#5e71e1',
950: '#000000',
},
}SCSS
$custom: #5e71e1; $custom-light: #9699eb; $custom-dark: #000000;
JSON
{
"hex": "#5e71e1",
"rgb": {
"r": 94,
"g": 113,
"b": 225
},
"hsl": {
"h": 231.298,
"s": 68.586,
"l": 62.549
},
"oklch": {
"l": 0.59096,
"c": 0.17013,
"h": 272.9
},
"luminance": 0.19626
}Semantic roles & 50–950 ramp
primary
#5E71E1
secondary
#E5DEB6
accent
#B515D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84