#566DE8#566DE8
#566DE8 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.3% C 0.187 H 271.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #566DE8 |
|---|---|
| RGB | rgb(86, 109, 232) |
| HSL | hsl(231, 76%, 62%) |
| HSV | hsv(231, 63%, 91%) |
| CMYK | cmyk(62.9%, 53%, 0%, 9%) |
| CIE-LAB | lab(50.38, 29.32, -65.03) |
| CIE-LCH | lch(50.38, 71.33, 294.27°) |
| OKLab | oklab(58.34% 0.0047 -0.1867) |
| OKLCH | oklch(58.34% 0.187 271.5) |
| XYZ | xyz(23.8670, 18.7398, 78.6877) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.85
Royal Blue
#4169E1
ΔE00 3.21
Cornflower
#6A79F7
ΔE00 5.08
Bright Blue
#0165FC
ΔE00 5.27
Lightish Blue
#3D7AFD
ΔE00 6.05
Cerulean Blue
#056EEE
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#566DE8 #E8D156
analogous
#56B6E8 #566DE8 #8856E8
triadic
#566DE8 #E8566D #6DE856
tetradic
#566DE8 #E856B6 #E8D156 #56E888
square
#566DE8 #E856B6 #E8D156 #56E888
split-complementary
#566DE8 #E88856 #B6E856
monochromatic
#172FAC #203EE1 #566DE8 #8C9CEF #C2CAF7
Accessibility & contrast
On white
4.42
#566DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#566DE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #566DE8
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##566DE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##566DE8 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#197FEC
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#008AA0
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #566de8; /* rgb */ color: rgb(86, 109, 232); /* oklch */ color: oklch(58.3% 0.187 271.5);
Tailwind
colors: {
custom: {
50: '#9396f0',
500: '#566de8',
950: '#000000',
},
}SCSS
$custom: #566de8; $custom-light: #9396f0; $custom-dark: #000000;
JSON
{
"hex": "#566de8",
"rgb": {
"r": 86,
"g": 109,
"b": 232
},
"hsl": {
"h": 230.548,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.58343,
"c": 0.18674,
"h": 271.5
},
"luminance": 0.18742
}Semantic roles & 50–950 ramp
primary
#566DE8
secondary
#E8DFB2
accent
#B80DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85