#566FEF#566FEF
#566FEF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.2% C 0.194 H 271.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #566FEF |
|---|---|
| RGB | rgb(86, 111, 239) |
| HSL | hsl(230, 83%, 64%) |
| HSV | hsv(230, 64%, 94%) |
| CMYK | cmyk(64%, 53.6%, 0%, 6.3%) |
| CIE-LAB | lab(51.36, 30.45, -67.37) |
| CIE-LCH | lch(51.36, 73.93, 294.32°) |
| OKLab | oklab(59.23% 0.0034 -0.1935) |
| OKLCH | oklch(59.23% 0.194 271) |
| XYZ | xyz(25.0969, 19.5771, 84.1008) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.44
Royal Blue
#4169E1
ΔE00 3.96
Cornflower
#6A79F7
ΔE00 4.18
Lightish Blue
#3D7AFD
ΔE00 5.25
Bright Blue
#0165FC
ΔE00 5.49
Cerulean Blue
#056EEE
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#566FEF #EFD656
analogous
#56BBEF #566FEF #8956EF
triadic
#566FEF #EF566F #6FEF56
tetradic
#566FEF #EF56BB #EFD656 #56EF89
square
#566FEF #EF56BB #EFD656 #56EF89
split-complementary
#566FEF #EF8956 #BBEF56
monochromatic
#122DB9 #1E3FEA #566FEF #8E9FF4 #C6CEFA
Accessibility & contrast
On white
4.27
#566FEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#566FEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #566FEF
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##566FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##566FEF | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F81F3
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #566fef; /* rgb */ color: rgb(86, 111, 239); /* oklch */ color: oklch(59.2% 0.194 271.0);
Tailwind
colors: {
custom: {
50: '#9598f5',
500: '#566fef',
950: '#000000',
},
}SCSS
$custom: #566fef; $custom-light: #9598f5; $custom-dark: #000000;
JSON
{
"hex": "#566fef",
"rgb": {
"r": 86,
"g": 111,
"b": 239
},
"hsl": {
"h": 230.196,
"s": 82.703,
"l": 63.725
},
"oklch": {
"l": 0.59225,
"c": 0.19358,
"h": 271
},
"luminance": 0.19579
}Semantic roles & 50–950 ramp
primary
#566FEF
secondary
#EBE3B5
accent
#BC06DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85