#5855BF#5855BF
#5855BF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.162 H 280.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5855BF |
|---|---|
| RGB | rgb(88, 85, 191) |
| HSL | hsl(242, 45%, 54%) |
| HSV | hsv(242, 55%, 75%) |
| CMYK | cmyk(53.9%, 55.5%, 0%, 25.1%) |
| CIE-LAB | lab(41.74, 31.02, -55.55) |
| CIE-LCH | lch(41.74, 63.63, 299.18°) |
| OKLab | oklab(51.02% 0.0288 -0.159) |
| OKLCH | oklch(51.02% 0.162 280.3) |
| XYZ | xyz(16.6740, 12.3323, 50.7819) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.01
Slate Blue
#6A5ACD
ΔE00 3.92
Warm Blue
#4B57DB
ΔE00 4.25
Dark Periwinkle
#665FD1
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 4.50
Ocean Blue
#4F42B5
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5855BF #BCBF55
analogous
#5587BF #5855BF #8D55BF
triadic
#5855BF #BF5855 #55BF58
tetradic
#5855BF #BF5587 #BCBF55 #55BF8D
square
#5855BF #BF5587 #BCBF55 #55BF8D
split-complementary
#5855BF #BF8D55 #87BF55
monochromatic
#2C2A70 #3E3B9C #5855BF #8481D0 #AFAEE0
Accessibility & contrast
On white
6.06
#5855BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5855BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5855BF
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5855BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5855BF | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C67C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#296D82
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5855bf; /* rgb */ color: rgb(88, 85, 191); /* oklch */ color: oklch(51.0% 0.162 280.3);
Tailwind
colors: {
custom: {
50: '#8f85d3',
500: '#5855bf',
950: '#000000',
},
}SCSS
$custom: #5855bf; $custom-light: #8f85d3; $custom-dark: #000000;
JSON
{
"hex": "#5855bf",
"rgb": {
"r": 88,
"g": 85,
"b": 191
},
"hsl": {
"h": 241.698,
"s": 45.299,
"l": 54.118
},
"oklch": {
"l": 0.51024,
"c": 0.16156,
"h": 280.3
},
"luminance": 0.12333
}Semantic roles & 50–950 ramp
primary
#5855BF
secondary
#CDCEA1
accent
#D553D1
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83