#5855BB#5855BB
#5855BB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.156 H 280.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5855BB |
|---|---|
| RGB | rgb(88, 85, 187) |
| HSL | hsl(242, 43%, 53%) |
| HSV | hsv(242, 55%, 73%) |
| CMYK | cmyk(52.9%, 54.5%, 0%, 26.7%) |
| CIE-LAB | lab(41.47, 29.75, -53.66) |
| CIE-LCH | lch(41.47, 61.35, 299.00°) |
| OKLab | oklab(50.73% 0.0287 -0.1534) |
| OKLCH | oklch(50.73% 0.156 280.6) |
| XYZ | xyz(16.2399, 12.1586, 48.4952) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.29
Slate Blue
#6A5ACD
ΔE00 4.26
Warm Blue
#4B57DB
ΔE00 4.80
Light Indigo
#6D5ACF
ΔE00 4.84
Dark Periwinkle
#665FD1
ΔE00 4.85
Ocean Blue
#4F42B5
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5855BB #B8BB55
analogous
#5585BB #5855BB #8B55BB
triadic
#5855BB #BB5855 #55BB58
tetradic
#5855BB #BB5585 #B8BB55 #55BB8B
square
#5855BB #BB5585 #B8BB55 #55BB8B
split-complementary
#5855BB #BB8B55 #85BB55
monochromatic
#2D2B6B #3F3C97 #5855BB #8381CC #AEACDE
Accessibility & contrast
On white
6.12
#5855BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5855BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5855BB
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5855BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5855BB | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1766BF
Deuteranopia (green-blind)
#025EB9
Tritanopia (blue-blind)
#2D6C80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5855bb; /* rgb */ color: rgb(88, 85, 187); /* oklch */ color: oklch(50.7% 0.156 280.6);
Tailwind
colors: {
custom: {
50: '#8f85d0',
500: '#5855bb',
950: '#000000',
},
}SCSS
$custom: #5855bb; $custom-light: #8f85d0; $custom-dark: #000000;
JSON
{
"hex": "#5855bb",
"rgb": {
"r": 88,
"g": 85,
"b": 187
},
"hsl": {
"h": 241.765,
"s": 42.857,
"l": 53.333
},
"oklch": {
"l": 0.50734,
"c": 0.15606,
"h": 280.6
},
"luminance": 0.1216
}Semantic roles & 50–950 ramp
primary
#5855BB
secondary
#CBCCA0
accent
#D355CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82