#5766E8#5766E8
#5766E8 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.1% C 0.195 H 273.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5766E8 |
|---|---|
| RGB | rgb(87, 102, 232) |
| HSL | hsl(234, 76%, 63%) |
| HSV | hsv(234, 63%, 91%) |
| CMYK | cmyk(62.5%, 56%, 0%, 9%) |
| CIE-LAB | lab(48.70, 33.78, -67.74) |
| CIE-LCH | lch(48.70, 75.70, 296.50°) |
| OKLab | oklab(57.1% 0.0121 -0.1947) |
| OKLCH | oklch(57.1% 0.195 273.5) |
| XYZ | xyz(23.2425, 17.3532, 78.4530) |
| Luminance | 0.1736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.70
Cornflower Blue
#5170D7
ΔE00 4.56
Dark Periwinkle
#665FD1
ΔE00 4.69
Warm Blue
#4B57DB
ΔE00 5.26
Bright Blue
#0165FC
ΔE00 5.33
Azul
#1D5DEC
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5766E8 #E8D957
analogous
#57AFE8 #5766E8 #9057E8
triadic
#5766E8 #E85766 #66E857
tetradic
#5766E8 #E857AF #E8D957 #57E890
square
#5766E8 #E857AF #E8D957 #57E890
split-complementary
#5766E8 #E89057 #AFE857
monochromatic
#1827AD #2135E1 #5766E8 #8D97EF #C3C8F7
Accessibility & contrast
On white
4.70
#5766E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#5766E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5766E8
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5766E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5766E8 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5766e8; /* rgb */ color: rgb(87, 102, 232); /* oklch */ color: oklch(57.1% 0.195 273.5);
Tailwind
colors: {
custom: {
50: '#9491f0',
500: '#5766e8',
950: '#000000',
},
}SCSS
$custom: #5766e8; $custom-light: #9491f0; $custom-dark: #000000;
JSON
{
"hex": "#5766e8",
"rgb": {
"r": 87,
"g": 102,
"b": 232
},
"hsl": {
"h": 233.793,
"s": 75.916,
"l": 62.549
},
"oklch": {
"l": 0.571,
"c": 0.19509,
"h": 273.5
},
"luminance": 0.17355
}Semantic roles & 50–950 ramp
primary
#5766E8
secondary
#E8E2B3
accent
#C30DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85