#5862E5#5862E5
#5862E5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.2% C 0.196 H 274.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5862E5 |
|---|---|
| RGB | rgb(88, 98, 229) |
| HSL | hsl(236, 73%, 62%) |
| HSV | hsv(236, 62%, 90%) |
| CMYK | cmyk(61.6%, 57.2%, 0%, 10.2%) |
| CIE-LAB | lab(47.58, 35.39, -67.87) |
| CIE-LCH | lch(47.58, 76.55, 297.54°) |
| OKLab | oklab(56.21% 0.0166 -0.1951) |
| OKLCH | oklch(56.21% 0.196 274.9) |
| XYZ | xyz(22.5304, 16.4654, 76.1044) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.68
Warm Blue
#4B57DB
ΔE00 4.02
Royal Blue
#4169E1
ΔE00 4.47
Azul
#1D5DEC
ΔE00 5.23
Slate Blue
#6A5ACD
ΔE00 5.33
Light Indigo
#6D5ACF
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5862E5 #E5DB58
analogous
#58A8E5 #5862E5 #9558E5
triadic
#5862E5 #E55862 #62E558
tetradic
#5862E5 #E558A8 #E5DB58 #58E595
square
#5862E5 #E558A8 #E5DB58 #58E595
split-complementary
#5862E5 #E59558 #A8E558
monochromatic
#1A24A8 #2330DD #5862E5 #8D94ED #C2C6F5
Accessibility & contrast
On white
4.89
#5862E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5862E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5862E5
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5862E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5862E5 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 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: #5862e5; /* rgb */ color: rgb(88, 98, 229); /* oklch */ color: oklch(56.2% 0.196 274.9);
Tailwind
colors: {
custom: {
50: '#958eee',
500: '#5862e5',
950: '#000000',
},
}SCSS
$custom: #5862e5; $custom-light: #958eee; $custom-dark: #000000;
JSON
{
"hex": "#5862e5",
"rgb": {
"r": 88,
"g": 98,
"b": 229
},
"hsl": {
"h": 235.745,
"s": 73.057,
"l": 62.157
},
"oklch": {
"l": 0.56213,
"c": 0.19583,
"h": 274.9
},
"luminance": 0.16467
}Semantic roles & 50–950 ramp
primary
#5862E5
secondary
#E6E3B3
accent
#C710D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84