#5764E1#5764E1
#5764E1 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.2% C 0.188 H 274.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5764E1 |
|---|---|
| RGB | rgb(87, 100, 225) |
| HSL | hsl(234, 70%, 61%) |
| HSV | hsv(234, 61%, 88%) |
| CMYK | cmyk(61.3%, 55.6%, 0%, 11.8%) |
| CIE-LAB | lab(47.72, 32.68, -65.39) |
| CIE-LCH | lch(47.72, 73.10, 296.56°) |
| OKLab | oklab(56.21% 0.0137 -0.1878) |
| OKLCH | oklch(56.21% 0.188 274.2) |
| XYZ | xyz(22.0738, 16.5750, 73.2556) |
| Luminance | 0.1658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 3.82
Warm Blue
#4B57DB
ΔE00 4.34
Cornflower Blue
#5170D7
ΔE00 4.81
Azul
#1D5DEC
ΔE00 5.17
Slate Blue
#6A5ACD
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5764E1 #E1D457
analogous
#57A9E1 #5764E1 #8F57E1
triadic
#5764E1 #E15764 #64E157
tetradic
#5764E1 #E157A9 #E1D457 #57E18F
square
#5764E1 #E157A9 #E1D457 #57E18F
split-complementary
#5764E1 #E18F57 #A9E157
monochromatic
#1D29A1 #2636D5 #5764E1 #8B94EA #BFC4F4
Accessibility & contrast
On white
4.87
#5764E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#5764E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5764E1
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5764E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5764E1 | 1.00 | 4.87 | 4.32 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5764e1; /* rgb */ color: rgb(87, 100, 225); /* oklch */ color: oklch(56.2% 0.188 274.2);
Tailwind
colors: {
custom: {
50: '#9390eb',
500: '#5764e1',
950: '#000000',
},
}SCSS
$custom: #5764e1; $custom-light: #9390eb; $custom-dark: #000000;
JSON
{
"hex": "#5764e1",
"rgb": {
"r": 87,
"g": 100,
"b": 225
},
"hsl": {
"h": 234.348,
"s": 69.697,
"l": 61.176
},
"oklch": {
"l": 0.56212,
"c": 0.18831,
"h": 274.2
},
"luminance": 0.16577
}Semantic roles & 50–950 ramp
primary
#5764E1
secondary
#E4DFB0
accent
#C014D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84