#5762E8#5762E8
#5762E8 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.4% C 0.200 H 274.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5762E8 |
|---|---|
| RGB | rgb(87, 98, 232) |
| HSL | hsl(235, 76%, 63%) |
| HSV | hsv(235, 63%, 91%) |
| CMYK | cmyk(62.5%, 57.8%, 0%, 9%) |
| CIE-LAB | lab(47.73, 36.22, -69.32) |
| CIE-LCH | lch(47.73, 78.21, 297.59°) |
| OKLab | oklab(56.38% 0.0156 -0.1994) |
| OKLCH | oklch(56.38% 0.2 274.5) |
| XYZ | xyz(22.8589, 16.5859, 78.3251) |
| Luminance | 0.1659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.01
Warm Blue
#4B57DB
ΔE00 4.17
Royal Blue
#4169E1
ΔE00 4.46
Azul
#1D5DEC
ΔE00 5.16
Slate Blue
#6A5ACD
ΔE00 5.62
Cornflower Blue
#5170D7
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5762E8 #E8DD57
analogous
#57ABE8 #5762E8 #9457E8
triadic
#5762E8 #E85762 #62E857
tetradic
#5762E8 #E857AB #E8DD57 #57E894
square
#5762E8 #E857AB #E8DD57 #57E894
split-complementary
#5762E8 #E89457 #ABE857
monochromatic
#1823AD #2130E1 #5762E8 #8D94EF #C3C7F7
Accessibility & contrast
On white
4.86
#5762E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#5762E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5762E8
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5762E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5762E8 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5762e8; /* rgb */ color: rgb(87, 98, 232); /* oklch */ color: oklch(56.4% 0.200 274.5);
Tailwind
colors: {
custom: {
50: '#958ef0',
500: '#5762e8',
950: '#000000',
},
}SCSS
$custom: #5762e8; $custom-light: #958ef0; $custom-dark: #000000;
JSON
{
"hex": "#5762e8",
"rgb": {
"r": 87,
"g": 98,
"b": 232
},
"hsl": {
"h": 235.448,
"s": 75.916,
"l": 62.549
},
"oklch": {
"l": 0.5638,
"c": 0.19999,
"h": 274.5
},
"luminance": 0.16588
}Semantic roles & 50–950 ramp
primary
#5762E8
secondary
#E8E4B3
accent
#C90DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85