#5766E5#5766E5
#5766E5 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.9% C 0.191 H 273.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5766E5 |
|---|---|
| RGB | rgb(87, 102, 229) |
| HSL | hsl(234, 73%, 62%) |
| HSV | hsv(234, 62%, 90%) |
| CMYK | cmyk(62%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(48.49, 32.78, -66.40) |
| CIE-LCH | lch(48.49, 74.05, 296.28°) |
| OKLab | oklab(56.88% 0.012 -0.1908) |
| OKLCH | oklch(56.88% 0.191 273.6) |
| XYZ | xyz(22.8200, 17.1842, 76.2279) |
| Luminance | 0.1719 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.55
Cornflower Blue
#5170D7
ΔE00 4.39
Dark Periwinkle
#665FD1
ΔE00 4.49
Warm Blue
#4B57DB
ΔE00 5.10
Azul
#1D5DEC
ΔE00 5.38
Bright Blue
#0165FC
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5766E5 #E5D657
analogous
#57ADE5 #5766E5 #8F57E5
triadic
#5766E5 #E55766 #66E557
tetradic
#5766E5 #E557AD #E5D657 #57E58F
square
#5766E5 #E557AD #E5D657 #57E58F
split-complementary
#5766E5 #E58F57 #ADE557
monochromatic
#1A29A8 #2236DD #5766E5 #8C96ED #C1C7F5
Accessibility & contrast
On white
4.73
#5766E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#5766E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5766E5
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5766E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5766E5 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5766e5; /* rgb */ color: rgb(87, 102, 229); /* oklch */ color: oklch(56.9% 0.191 273.6);
Tailwind
colors: {
custom: {
50: '#9491ee',
500: '#5766e5',
950: '#000000',
},
}SCSS
$custom: #5766e5; $custom-light: #9491ee; $custom-dark: #000000;
JSON
{
"hex": "#5766e5",
"rgb": {
"r": 87,
"g": 102,
"b": 229
},
"hsl": {
"h": 233.662,
"s": 73.196,
"l": 61.961
},
"oklch": {
"l": 0.56876,
"c": 0.19114,
"h": 273.6
},
"luminance": 0.17186
}Semantic roles & 50–950 ramp
primary
#5766E5
secondary
#E6E1B2
accent
#C010D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84