#5861D2#5861D2
#5861D2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.172 H 275.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5861D2 |
|---|---|
| RGB | rgb(88, 97, 210) |
| HSL | hsl(236, 58%, 58%) |
| HSV | hsv(236, 58%, 82%) |
| CMYK | cmyk(58.1%, 53.8%, 0%, 17.6%) |
| CIE-LAB | lab(46.01, 29.76, -59.62) |
| CIE-LCH | lch(46.01, 66.63, 296.52°) |
| OKLab | oklab(54.62% 0.0171 -0.1708) |
| OKLCH | oklch(54.62% 0.172 275.7) |
| XYZ | xyz(19.9283, 15.2758, 62.8586) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.69
Warm Blue
#4B57DB
ΔE00 3.46
Iris
#6258C4
ΔE00 4.24
Slate Blue
#6A5ACD
ΔE00 4.34
Light Indigo
#6D5ACF
ΔE00 4.75
Royal Blue
#4169E1
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5861D2 #D2C958
analogous
#589ED2 #5861D2 #8C58D2
triadic
#5861D2 #D25861 #61D258
tetradic
#5861D2 #D2589E #D2C958 #58D28C
square
#5861D2 #D2589E #D2C958 #58D28C
split-complementary
#5861D2 #D28C58 #9ED258
monochromatic
#252D8A #323CBB #5861D2 #888FDF #B8BCEC
Accessibility & contrast
On white
5.18
#5861D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#5861D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5861D2
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5861D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5861D2 | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1772D6
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5861d2; /* rgb */ color: rgb(88, 97, 210); /* oklch */ color: oklch(54.6% 0.172 275.7);
Tailwind
colors: {
custom: {
50: '#918de0',
500: '#5861d2',
950: '#000000',
},
}SCSS
$custom: #5861d2; $custom-light: #918de0; $custom-dark: #000000;
JSON
{
"hex": "#5861d2",
"rgb": {
"r": 88,
"g": 97,
"b": 210
},
"hsl": {
"h": 235.574,
"s": 57.547,
"l": 58.431
},
"oklch": {
"l": 0.54623,
"c": 0.17169,
"h": 275.7
},
"luminance": 0.15277
}Semantic roles & 50–950 ramp
primary
#5861D2
secondary
#DBD8AB
accent
#D547E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83