#5861E9#5861E9
#5861E9 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.3% C 0.202 H 275.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5861E9 |
|---|---|
| RGB | rgb(88, 97, 233) |
| HSL | hsl(236, 77%, 63%) |
| HSV | hsv(236, 62%, 91%) |
| CMYK | cmyk(62.2%, 58.4%, 0%, 8.6%) |
| CIE-LAB | lab(47.63, 37.32, -70.04) |
| CIE-LCH | lch(47.63, 79.37, 298.05°) |
| OKLab | oklab(56.34% 0.0175 -0.2015) |
| OKLCH | oklch(56.34% 0.202 275) |
| XYZ | xyz(23.0023, 16.5054, 79.0487) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.91
Warm Blue
#4B57DB
ΔE00 4.05
Royal Blue
#4169E1
ΔE00 4.83
Azul
#1D5DEC
ΔE00 5.30
Slate Blue
#6A5ACD
ΔE00 5.43
Light Indigo
#6D5ACF
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5861E9 #E9E058
analogous
#58A9E9 #5861E9 #9758E9
triadic
#5861E9 #E95861 #61E958
tetradic
#5861E9 #E958A9 #E9E058 #58E997
square
#5861E9 #E958A9 #E9E058 #58E997
split-complementary
#5861E9 #E99758 #A9E958
monochromatic
#1721AF #222EE2 #5861E9 #8E94F0 #C4C7F7
Accessibility & contrast
On white
4.88
#5861E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#5861E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5861E9
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5861E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5861E9 | 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)
#0077EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5861e9; /* rgb */ color: rgb(88, 97, 233); /* oklch */ color: oklch(56.3% 0.202 275.0);
Tailwind
colors: {
custom: {
50: '#958ef1',
500: '#5861e9',
950: '#000000',
},
}SCSS
$custom: #5861e9; $custom-light: #958ef1; $custom-dark: #000000;
JSON
{
"hex": "#5861e9",
"rgb": {
"r": 88,
"g": 97,
"b": 233
},
"hsl": {
"h": 236.276,
"s": 76.72,
"l": 62.941
},
"oklch": {
"l": 0.56343,
"c": 0.20227,
"h": 275
},
"luminance": 0.16507
}Semantic roles & 50–950 ramp
primary
#5861E9
secondary
#E8E5B4
accent
#CC0DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85