#5855CF#5855CF
#5855CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.183 H 279.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5855CF |
|---|---|
| RGB | rgb(88, 85, 207) |
| HSL | hsl(241, 56%, 57%) |
| HSV | hsv(241, 59%, 81%) |
| CMYK | cmyk(57.5%, 58.9%, 0%, 18.8%) |
| CIE-LAB | lab(42.88, 36.15, -62.97) |
| CIE-LCH | lch(42.88, 72.61, 299.86°) |
| OKLab | oklab(52.23% 0.0288 -0.1808) |
| OKLCH | oklch(52.23% 0.183 279.1) |
| XYZ | xyz(18.5319, 13.0754, 60.5666) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.41
Warm Blue
#4B57DB
ΔE00 2.46
Slate Blue
#6A5ACD
ΔE00 3.27
Dark Periwinkle
#665FD1
ΔE00 3.62
Light Indigo
#6D5ACF
ΔE00 3.76
Bluey Purple
#6241C7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5855CF #CCCF55
analogous
#558FCF #5855CF #9555CF
triadic
#5855CF #CF5855 #55CF58
tetradic
#5855CF #CF558F #CCCF55 #55CF95
square
#5855CF #CF558F #CCCF55 #55CF95
split-complementary
#5855CF #CF9555 #8FCF55
monochromatic
#282584 #3633B4 #5855CF #8785DC #B6B4EA
Accessibility & contrast
On white
5.81
#5855CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5855CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5855CF
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5855CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5855CF | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#0D728A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5855cf; /* rgb */ color: rgb(88, 85, 207); /* oklch */ color: oklch(52.2% 0.183 279.1);
Tailwind
colors: {
custom: {
50: '#9285df',
500: '#5855cf',
950: '#000000',
},
}SCSS
$custom: #5855cf; $custom-light: #9285df; $custom-dark: #000000;
JSON
{
"hex": "#5855cf",
"rgb": {
"r": 88,
"g": 85,
"b": 207
},
"hsl": {
"h": 241.475,
"s": 55.963,
"l": 57.255
},
"oklch": {
"l": 0.52227,
"c": 0.18309,
"h": 279.1
},
"luminance": 0.13077
}Semantic roles & 50–950 ramp
primary
#5855CF
secondary
#D7D9A7
accent
#DF49DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83