#5766E4#5766E4
#5766E4 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.8% C 0.190 H 273.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5766E4 |
|---|---|
| RGB | rgb(87, 102, 228) |
| HSL | hsl(234, 72%, 62%) |
| HSV | hsv(234, 62%, 89%) |
| CMYK | cmyk(61.8%, 55.3%, 0%, 10.6%) |
| CIE-LAB | lab(48.42, 32.45, -65.95) |
| CIE-LCH | lch(48.42, 73.50, 296.20°) |
| OKLab | oklab(56.8% 0.0119 -0.1894) |
| OKLCH | oklch(56.8% 0.19 273.6) |
| XYZ | xyz(22.6808, 17.1285, 75.4947) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.51
Cornflower Blue
#5170D7
ΔE00 4.34
Dark Periwinkle
#665FD1
ΔE00 4.42
Warm Blue
#4B57DB
ΔE00 5.06
Azul
#1D5DEC
ΔE00 5.37
Bright Blue
#0165FC
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5766E4 #E4D557
analogous
#57ADE4 #5766E4 #8F57E4
triadic
#5766E4 #E45766 #66E457
tetradic
#5766E4 #E457AD #E4D557 #57E48F
square
#5766E4 #E457AD #E4D557 #57E48F
split-complementary
#5766E4 #E48F57 #ADE457
monochromatic
#1B29A6 #2337DB #5766E4 #8C96EC #C0C6F5
Accessibility & contrast
On white
4.74
#5766E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#5766E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5766E4
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5766E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5766E4 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5766e4; /* rgb */ color: rgb(87, 102, 228); /* oklch */ color: oklch(56.8% 0.190 273.6);
Tailwind
colors: {
custom: {
50: '#9491ed',
500: '#5766e4',
950: '#000000',
},
}SCSS
$custom: #5766e4; $custom-light: #9491ed; $custom-dark: #000000;
JSON
{
"hex": "#5766e4",
"rgb": {
"r": 87,
"g": 102,
"b": 228
},
"hsl": {
"h": 233.617,
"s": 72.308,
"l": 61.765
},
"oklch": {
"l": 0.56802,
"c": 0.18981,
"h": 273.6
},
"luminance": 0.1713
}Semantic roles & 50–950 ramp
primary
#5766E4
secondary
#E6E0B1
accent
#C011D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84