#5762E5#5762E5
#5762E5 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.196 H 274.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5762E5 |
|---|---|
| RGB | rgb(87, 98, 229) |
| HSL | hsl(235, 73%, 62%) |
| HSV | hsv(235, 62%, 90%) |
| CMYK | cmyk(62%, 57.2%, 0%, 10.2%) |
| CIE-LAB | lab(47.52, 35.23, -67.98) |
| CIE-LCH | lch(47.52, 76.57, 297.40°) |
| OKLab | oklab(56.15% 0.0155 -0.1955) |
| OKLCH | oklch(56.15% 0.196 274.5) |
| XYZ | xyz(22.4364, 16.4169, 76.1000) |
| Luminance | 0.1642 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.76
Warm Blue
#4B57DB
ΔE00 3.97
Royal Blue
#4169E1
ΔE00 4.35
Azul
#1D5DEC
ΔE00 5.10
Slate Blue
#6A5ACD
ΔE00 5.41
Cornflower Blue
#5170D7
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5762E5 #E5DA57
analogous
#57A9E5 #5762E5 #9357E5
triadic
#5762E5 #E55762 #62E557
tetradic
#5762E5 #E557A9 #E5DA57 #57E593
square
#5762E5 #E557A9 #E5DA57 #57E593
split-complementary
#5762E5 #E59357 #A9E557
monochromatic
#1A25A8 #2231DD #5762E5 #8C94ED #C1C5F5
Accessibility & contrast
On white
4.90
#5762E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#5762E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5762E5
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5762E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5762E5 | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5762e5; /* rgb */ color: rgb(87, 98, 229); /* oklch */ color: oklch(56.1% 0.196 274.5);
Tailwind
colors: {
custom: {
50: '#948eee',
500: '#5762e5',
950: '#000000',
},
}SCSS
$custom: #5762e5; $custom-light: #948eee; $custom-dark: #000000;
JSON
{
"hex": "#5762e5",
"rgb": {
"r": 87,
"g": 98,
"b": 229
},
"hsl": {
"h": 235.352,
"s": 73.196,
"l": 61.961
},
"oklch": {
"l": 0.5615,
"c": 0.19607,
"h": 274.5
},
"luminance": 0.16419
}Semantic roles & 50–950 ramp
primary
#5762E5
secondary
#E6E2B2
accent
#C610D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84