#5862E8#5862E8
#5862E8 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.4% C 0.200 H 274.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5862E8 |
|---|---|
| RGB | rgb(88, 98, 232) |
| HSL | hsl(236, 76%, 63%) |
| HSV | hsv(236, 62%, 91%) |
| CMYK | cmyk(62.1%, 57.8%, 0%, 9%) |
| CIE-LAB | lab(47.80, 36.38, -69.21) |
| CIE-LCH | lch(47.80, 78.19, 297.73°) |
| OKLab | oklab(56.44% 0.0166 -0.199) |
| OKLCH | oklch(56.44% 0.2 274.8) |
| XYZ | xyz(22.9529, 16.6344, 78.3295) |
| Luminance | 0.1664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.93
Warm Blue
#4B57DB
ΔE00 4.21
Royal Blue
#4169E1
ΔE00 4.58
Azul
#1D5DEC
ΔE00 5.29
Slate Blue
#6A5ACD
ΔE00 5.54
Light Indigo
#6D5ACF
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5862E8 #E8DE58
analogous
#58AAE8 #5862E8 #9658E8
triadic
#5862E8 #E85862 #62E858
tetradic
#5862E8 #E858AA #E8DE58 #58E896
square
#5862E8 #E858AA #E8DE58 #58E896
split-complementary
#5862E8 #E89658 #AAE858
monochromatic
#1822AE #222FE1 #5862E8 #8E95EF #C4C7F7
Accessibility & contrast
On white
4.85
#5862E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#5862E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5862E8
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5862E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5862E8 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 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: #5862e8; /* rgb */ color: rgb(88, 98, 232); /* oklch */ color: oklch(56.4% 0.200 274.8);
Tailwind
colors: {
custom: {
50: '#958ef0',
500: '#5862e8',
950: '#000000',
},
}SCSS
$custom: #5862e8; $custom-light: #958ef0; $custom-dark: #000000;
JSON
{
"hex": "#5862e8",
"rgb": {
"r": 88,
"g": 98,
"b": 232
},
"hsl": {
"h": 235.833,
"s": 75.789,
"l": 62.745
},
"oklch": {
"l": 0.56442,
"c": 0.19974,
"h": 274.8
},
"luminance": 0.16636
}Semantic roles & 50–950 ramp
primary
#5862E8
secondary
#E8E4B4
accent
#CA0ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85