#5772EA#5772EA
#5772EA is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.5% C 0.183 H 270.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5772EA |
|---|---|
| RGB | rgb(87, 114, 234) |
| HSL | hsl(229, 78%, 63%) |
| HSV | hsv(229, 63%, 92%) |
| CMYK | cmyk(62.8%, 51.3%, 0%, 8.2%) |
| CIE-LAB | lab(51.84, 27.08, -63.80) |
| CIE-LCH | lch(51.84, 69.31, 293.00°) |
| OKLab | oklab(59.5% 0.0013 -0.183) |
| OKLCH | oklch(59.5% 0.183 270.4) |
| XYZ | xyz(24.7941, 19.9992, 80.3796) |
| Luminance | 0.2000 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.86
Cornflower
#6A79F7
ΔE00 3.91
Royal Blue
#4169E1
ΔE00 4.16
Lightish Blue
#3D7AFD
ΔE00 4.62
Deep Sky Blue
#0D75F8
ΔE00 5.89
Clear Blue
#247AFD
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5772EA #EACF57
analogous
#57BBEA #5772EA #8657EA
triadic
#5772EA #EA5772 #72EA57
tetradic
#5772EA #EA57BB #EACF57 #57EA86
square
#5772EA #EA57BB #EACF57 #57EA86
split-complementary
#5772EA #EA8657 #BBEA57
monochromatic
#1632B1 #2144E3 #5772EA #8DA0F1 #C4CDF8
Accessibility & contrast
On white
4.20
#5772EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#5772EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5772EA
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5772EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5772EA | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A82EE
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5772ea; /* rgb */ color: rgb(87, 114, 234); /* oklch */ color: oklch(59.5% 0.183 270.4);
Tailwind
colors: {
custom: {
50: '#949af1',
500: '#5772ea',
950: '#000000',
},
}SCSS
$custom: #5772ea; $custom-light: #949af1; $custom-dark: #000000;
JSON
{
"hex": "#5772ea",
"rgb": {
"r": 87,
"g": 114,
"b": 234
},
"hsl": {
"h": 228.98,
"s": 77.778,
"l": 62.941
},
"oklch": {
"l": 0.59496,
"c": 0.18297,
"h": 270.4
},
"luminance": 0.20001
}Semantic roles & 50–950 ramp
primary
#5772EA
secondary
#E9DFB4
accent
#B40BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85