#5856C8#5856C8
#5856C8 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.172 H 279.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5856C8 |
|---|---|
| RGB | rgb(88, 86, 200) |
| HSL | hsl(241, 51%, 56%) |
| HSV | hsv(241, 57%, 78%) |
| CMYK | cmyk(56%, 57%, 0%, 21.6%) |
| CIE-LAB | lab(42.61, 33.29, -59.36) |
| CIE-LCH | lch(42.61, 68.06, 299.29°) |
| OKLab | oklab(51.87% 0.0279 -0.1702) |
| OKLCH | oklch(51.87% 0.172 279.3) |
| XYZ | xyz(17.7743, 12.8992, 56.1856) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.89
Warm Blue
#4B57DB
ΔE00 3.06
Slate Blue
#6A5ACD
ΔE00 3.33
Dark Periwinkle
#665FD1
ΔE00 3.66
Light Indigo
#6D5ACF
ΔE00 3.90
Bluey Purple
#6241C7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5856C8 #C6C856
analogous
#568DC8 #5856C8 #9156C8
triadic
#5856C8 #C85856 #56C858
tetradic
#5856C8 #C8568D #C6C856 #56C891
square
#5856C8 #C8568D #C6C856 #56C891
split-complementary
#5856C8 #C89156 #8DC856
monochromatic
#2A287B #3937AA #5856C8 #8684D7 #B3B2E6
Accessibility & contrast
On white
5.87
#5856C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#5856C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5856C8
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5856C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5856C8 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#1D7186
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5856c8; /* rgb */ color: rgb(88, 86, 200); /* oklch */ color: oklch(51.9% 0.172 279.3);
Tailwind
colors: {
custom: {
50: '#9186d9',
500: '#5856c8',
950: '#000000',
},
}SCSS
$custom: #5856c8; $custom-light: #9186d9; $custom-dark: #000000;
JSON
{
"hex": "#5856c8",
"rgb": {
"r": 88,
"g": 86,
"b": 200
},
"hsl": {
"h": 241.053,
"s": 50.893,
"l": 56.078
},
"oklch": {
"l": 0.51871,
"c": 0.17246,
"h": 279.3
},
"luminance": 0.129
}Semantic roles & 50–950 ramp
primary
#5856C8
secondary
#D4D4A5
accent
#DA4DD8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83