#5861E8#5861E8
#5861E8 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.3% C 0.201 H 275.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5861E8 |
|---|---|
| RGB | rgb(88, 97, 232) |
| HSL | hsl(236, 76%, 63%) |
| HSV | hsv(236, 62%, 91%) |
| CMYK | cmyk(62.1%, 58.2%, 0%, 9%) |
| CIE-LAB | lab(47.56, 36.99, -69.60) |
| CIE-LCH | lch(47.56, 78.82, 297.99°) |
| OKLab | oklab(56.27% 0.0175 -0.2002) |
| OKLCH | oklch(56.27% 0.201 275) |
| XYZ | xyz(22.8599, 16.4484, 78.2985) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.82
Warm Blue
#4B57DB
ΔE00 3.97
Royal Blue
#4169E1
ΔE00 4.79
Azul
#1D5DEC
ΔE00 5.27
Slate Blue
#6A5ACD
ΔE00 5.35
Light Indigo
#6D5ACF
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5861E8 #E8DF58
analogous
#58A9E8 #5861E8 #9758E8
triadic
#5861E8 #E85861 #61E858
tetradic
#5861E8 #E858A9 #E8DF58 #58E897
square
#5861E8 #E858A9 #E8DF58 #58E897
split-complementary
#5861E8 #E89758 #A9E858
monochromatic
#1821AE #222EE1 #5861E8 #8E94EF #C4C7F7
Accessibility & contrast
On white
4.90
#5861E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5861E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5861E8
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5861E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5861E8 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5861e8; /* rgb */ color: rgb(88, 97, 232); /* oklch */ color: oklch(56.3% 0.201 275.0);
Tailwind
colors: {
custom: {
50: '#958ef0',
500: '#5861e8',
950: '#000000',
},
}SCSS
$custom: #5861e8; $custom-light: #958ef0; $custom-dark: #000000;
JSON
{
"hex": "#5861e8",
"rgb": {
"r": 88,
"g": 97,
"b": 232
},
"hsl": {
"h": 236.25,
"s": 75.789,
"l": 62.745
},
"oklch": {
"l": 0.56265,
"c": 0.20096,
"h": 275
},
"luminance": 0.1645
}Semantic roles & 50–950 ramp
primary
#5861E8
secondary
#E8E5B4
accent
#CB0ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85