#5766DC#5766DC
#5766DC is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.2% C 0.179 H 273.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5766DC |
|---|---|
| RGB | rgb(87, 102, 220) |
| HSL | hsl(233, 66%, 60%) |
| HSV | hsv(233, 60%, 86%) |
| CMYK | cmyk(60.5%, 53.6%, 0%, 13.7%) |
| CIE-LAB | lab(47.87, 29.79, -62.31) |
| CIE-LCH | lch(47.87, 69.06, 295.55°) |
| OKLab | oklab(56.22% 0.0116 -0.1787) |
| OKLCH | oklch(56.22% 0.179 273.7) |
| XYZ | xyz(21.5959, 16.6946, 69.7806) |
| Luminance | 0.1670 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.36
Cornflower Blue
#5170D7
ΔE00 4.03
Dark Periwinkle
#665FD1
ΔE00 4.04
Warm Blue
#4B57DB
ΔE00 4.83
Azul
#1D5DEC
ΔE00 5.38
Bright Blue
#0165FC
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5766DC #DCCD57
analogous
#57A8DC #5766DC #8A57DC
triadic
#5766DC #DC5766 #66DC57
tetradic
#5766DC #DC57A8 #DCCD57 #57DC8A
square
#5766DC #DC57A8 #DCCD57 #57DC8A
split-complementary
#5766DC #DC8A57 #A8DC57
monochromatic
#202D99 #2A3DCB #5766DC #8A94E7 #BCC2F1
Accessibility & contrast
On white
4.84
#5766DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#5766DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5766DC
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5766DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5766DC | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1578E0
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5766dc; /* rgb */ color: rgb(87, 102, 220); /* oklch */ color: oklch(56.2% 0.179 273.7);
Tailwind
colors: {
custom: {
50: '#9291e8',
500: '#5766dc',
950: '#000000',
},
}SCSS
$custom: #5766dc; $custom-light: #9291e8; $custom-dark: #000000;
JSON
{
"hex": "#5766dc",
"rgb": {
"r": 87,
"g": 102,
"b": 220
},
"hsl": {
"h": 233.233,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.56217,
"c": 0.17911,
"h": 273.7
},
"luminance": 0.16696
}Semantic roles & 50–950 ramp
primary
#5766DC
secondary
#E1DBAE
accent
#B918CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84