#5862E6#5862E6
#5862E6 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.3% C 0.197 H 274.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5862E6 |
|---|---|
| RGB | rgb(88, 98, 230) |
| HSL | hsl(236, 74%, 62%) |
| HSV | hsv(236, 62%, 90%) |
| CMYK | cmyk(61.7%, 57.4%, 0%, 9.8%) |
| CIE-LAB | lab(47.65, 35.72, -68.32) |
| CIE-LCH | lch(47.65, 77.10, 297.60°) |
| OKLab | oklab(56.29% 0.0166 -0.1964) |
| OKLCH | oklch(56.29% 0.197 274.8) |
| XYZ | xyz(22.6704, 16.5214, 76.8418) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.76
Warm Blue
#4B57DB
ΔE00 4.08
Royal Blue
#4169E1
ΔE00 4.50
Azul
#1D5DEC
ΔE00 5.25
Slate Blue
#6A5ACD
ΔE00 5.39
Light Indigo
#6D5ACF
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5862E6 #E6DC58
analogous
#58A9E6 #5862E6 #9558E6
triadic
#5862E6 #E65862 #62E658
tetradic
#5862E6 #E658A9 #E6DC58 #58E695
square
#5862E6 #E658A9 #E6DC58 #58E695
split-complementary
#5862E6 #E69558 #A9E658
monochromatic
#1924AA #2330DE #5862E6 #8D94EE #C2C6F6
Accessibility & contrast
On white
4.88
#5862E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#5862E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5862E6
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5862E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5862E6 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5862e6; /* rgb */ color: rgb(88, 98, 230); /* oklch */ color: oklch(56.3% 0.197 274.8);
Tailwind
colors: {
custom: {
50: '#958eef',
500: '#5862e6',
950: '#000000',
},
}SCSS
$custom: #5862e6; $custom-light: #958eef; $custom-dark: #000000;
JSON
{
"hex": "#5862e6",
"rgb": {
"r": 88,
"g": 98,
"b": 230
},
"hsl": {
"h": 235.775,
"s": 73.958,
"l": 62.353
},
"oklch": {
"l": 0.56289,
"c": 0.19713,
"h": 274.8
},
"luminance": 0.16523
}Semantic roles & 50–950 ramp
primary
#5862E6
secondary
#E7E3B3
accent
#C80FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85