#5861E4#5861E4
#5861E4 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.0% C 0.196 H 275.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5861E4 |
|---|---|
| RGB | rgb(88, 97, 228) |
| HSL | hsl(236, 72%, 62%) |
| HSV | hsv(236, 61%, 89%) |
| CMYK | cmyk(61.4%, 57.5%, 0%, 10.6%) |
| CIE-LAB | lab(47.27, 35.67, -67.82) |
| CIE-LCH | lch(47.27, 76.63, 297.75°) |
| OKLab | oklab(55.96% 0.0175 -0.195) |
| OKLCH | oklch(55.96% 0.196 275.1) |
| XYZ | xyz(22.2982, 16.2237, 75.3402) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.47
Warm Blue
#4B57DB
ΔE00 3.70
Royal Blue
#4169E1
ΔE00 4.68
Slate Blue
#6A5ACD
ΔE00 5.06
Azul
#1D5DEC
ΔE00 5.20
Light Indigo
#6D5ACF
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5861E4 #E4DB58
analogous
#58A7E4 #5861E4 #9558E4
triadic
#5861E4 #E45861 #61E458
tetradic
#5861E4 #E458A7 #E4DB58 #58E495
square
#5861E4 #E458A7 #E4DB58 #58E495
split-complementary
#5861E4 #E49558 #A7E458
monochromatic
#1B24A7 #232FDB #5861E4 #8D93ED #C1C5F5
Accessibility & contrast
On white
4.95
#5861E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#5861E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5861E4
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5861E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5861E4 | 1.00 | 4.95 | 4.25 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5861e4; /* rgb */ color: rgb(88, 97, 228); /* oklch */ color: oklch(56.0% 0.196 275.1);
Tailwind
colors: {
custom: {
50: '#948eed',
500: '#5861e4',
950: '#000000',
},
}SCSS
$custom: #5861e4; $custom-light: #948eed; $custom-dark: #000000;
JSON
{
"hex": "#5861e4",
"rgb": {
"r": 88,
"g": 97,
"b": 228
},
"hsl": {
"h": 236.143,
"s": 72.165,
"l": 61.961
},
"oklch": {
"l": 0.55958,
"c": 0.19575,
"h": 275.1
},
"luminance": 0.16226
}Semantic roles & 50–950 ramp
primary
#5861E4
secondary
#E6E2B2
accent
#C811D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84