#566CD7#566CD7
#566CD7 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.0% C 0.165 H 271.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #566CD7 |
|---|---|
| RGB | rgb(86, 108, 215) |
| HSL | hsl(230, 62%, 59%) |
| HSV | hsv(230, 60%, 84%) |
| CMYK | cmyk(60%, 49.8%, 0%, 15.7%) |
| CIE-LAB | lab(49.02, 24.23, -57.63) |
| CIE-LCH | lch(49.02, 62.51, 292.80°) |
| OKLab | oklab(56.96% 0.0043 -0.1649) |
| OKLCH | oklch(56.96% 0.165 271.5) |
| XYZ | xyz(21.4620, 17.6081, 66.5445) |
| Luminance | 0.1761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.87
Royal Blue
#4169E1
ΔE00 2.75
Dark Periwinkle
#665FD1
ΔE00 5.83
Bright Blue
#0165FC
ΔE00 5.89
Cerulean Blue
#056EEE
ΔE00 6.28
Azul
#1D5DEC
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#566CD7 #D7C156
analogous
#56ADD7 #566CD7 #8156D7
triadic
#566CD7 #D7566C #6CD756
tetradic
#566CD7 #D756AD #D7C156 #56D781
square
#566CD7 #D756AD #D7C156 #56D781
split-complementary
#566CD7 #D78156 #ADD756
monochromatic
#223590 #2E47C2 #566CD7 #8797E3 #B9C2EE
Accessibility & contrast
On white
4.64
#566CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#566CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #566CD7
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##566CD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##566CD7 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#337ADB
Deuteranopia (green-blind)
#176FD5
Tritanopia (blue-blind)
#008497
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #566cd7; /* rgb */ color: rgb(86, 108, 215); /* oklch */ color: oklch(57.0% 0.165 271.5);
Tailwind
colors: {
custom: {
50: '#9195e4',
500: '#566cd7',
950: '#000000',
},
}SCSS
$custom: #566cd7; $custom-light: #9195e4; $custom-dark: #000000;
JSON
{
"hex": "#566cd7",
"rgb": {
"r": 86,
"g": 108,
"b": 215
},
"hsl": {
"h": 229.767,
"s": 61.722,
"l": 59.02
},
"oklch": {
"l": 0.56959,
"c": 0.16497,
"h": 271.5
},
"luminance": 0.1761
}Semantic roles & 50–950 ramp
primary
#566CD7
secondary
#DED5AB
accent
#C943E5
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84