#5855CB#5855CB
#5855CB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.178 H 279.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5855CB |
|---|---|
| RGB | rgb(88, 85, 203) |
| HSL | hsl(242, 53%, 56%) |
| HSV | hsv(242, 58%, 80%) |
| CMYK | cmyk(56.7%, 58.1%, 0%, 20.4%) |
| CIE-LAB | lab(42.59, 34.87, -61.14) |
| CIE-LCH | lch(42.59, 70.38, 299.70°) |
| OKLab | oklab(51.92% 0.0289 -0.1754) |
| OKLCH | oklch(51.92% 0.178 279.4) |
| XYZ | xyz(18.0491, 12.8823, 58.0238) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.11
Warm Blue
#4B57DB
ΔE00 2.82
Slate Blue
#6A5ACD
ΔE00 3.31
Dark Periwinkle
#665FD1
ΔE00 3.74
Light Indigo
#6D5ACF
ΔE00 3.84
Bluey Purple
#6241C7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5855CB #C8CB55
analogous
#558DCB #5855CB #9355CB
triadic
#5855CB #CB5855 #55CB58
tetradic
#5855CB #CB558D #C8CB55 #55CB93
square
#5855CB #CB558D #C8CB55 #55CB93
split-complementary
#5855CB #CB9355 #8DCB55
monochromatic
#29277F #3835AE #5855CB #8684D9 #B4B3E8
Accessibility & contrast
On white
5.87
#5855CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#5855CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5855CB
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5855CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5855CB | 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)
#0069CF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#177188
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5855cb; /* rgb */ color: rgb(88, 85, 203); /* oklch */ color: oklch(51.9% 0.178 279.4);
Tailwind
colors: {
custom: {
50: '#9185dc',
500: '#5855cb',
950: '#000000',
},
}SCSS
$custom: #5855cb; $custom-light: #9185dc; $custom-dark: #000000;
JSON
{
"hex": "#5855cb",
"rgb": {
"r": 88,
"g": 85,
"b": 203
},
"hsl": {
"h": 241.525,
"s": 53.153,
"l": 56.471
},
"oklch": {
"l": 0.5192,
"c": 0.17778,
"h": 279.4
},
"luminance": 0.12884
}Semantic roles & 50–950 ramp
primary
#5855CB
secondary
#D5D6A6
accent
#DD4BD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83