#5866E6#5866E6
#5866E6 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.0% C 0.192 H 273.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5866E6 |
|---|---|
| RGB | rgb(88, 102, 230) |
| HSL | hsl(234, 74%, 62%) |
| HSV | hsv(234, 62%, 90%) |
| CMYK | cmyk(61.7%, 55.7%, 0%, 9.8%) |
| CIE-LAB | lab(48.62, 33.28, -66.75) |
| CIE-LCH | lch(48.62, 74.58, 296.50°) |
| OKLab | oklab(57.01% 0.0131 -0.1918) |
| OKLCH | oklch(57.01% 0.192 273.9) |
| XYZ | xyz(23.0541, 17.2887, 76.9697) |
| Luminance | 0.1729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.74
Dark Periwinkle
#665FD1
ΔE00 4.47
Cornflower Blue
#5170D7
ΔE00 4.52
Warm Blue
#4B57DB
ΔE00 5.18
Bright Blue
#0165FC
ΔE00 5.51
Azul
#1D5DEC
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5866E6 #E6D858
analogous
#58ADE6 #5866E6 #9158E6
triadic
#5866E6 #E65866 #66E658
tetradic
#5866E6 #E658AD #E6D858 #58E691
square
#5866E6 #E658AD #E6D858 #58E691
split-complementary
#5866E6 #E69158 #ADE658
monochromatic
#1928AA #2335DE #5866E6 #8D97EE #C2C8F6
Accessibility & contrast
On white
4.71
#5866E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#5866E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5866E6
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5866E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5866E6 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5866e6; /* rgb */ color: rgb(88, 102, 230); /* oklch */ color: oklch(57.0% 0.192 273.9);
Tailwind
colors: {
custom: {
50: '#9491ef',
500: '#5866e6',
950: '#000000',
},
}SCSS
$custom: #5866e6; $custom-light: #9491ef; $custom-dark: #000000;
JSON
{
"hex": "#5866e6",
"rgb": {
"r": 88,
"g": 102,
"b": 230
},
"hsl": {
"h": 234.085,
"s": 73.958,
"l": 62.353
},
"oklch": {
"l": 0.57012,
"c": 0.1922,
"h": 273.9
},
"luminance": 0.17291
}Semantic roles & 50–950 ramp
primary
#5866E6
secondary
#E7E2B3
accent
#C20FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84