#5851BC#5851BC
#5851BC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.163 H 281.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5851BC |
|---|---|
| RGB | rgb(88, 81, 188) |
| HSL | hsl(244, 44%, 53%) |
| HSV | hsv(244, 57%, 74%) |
| CMYK | cmyk(53.2%, 56.9%, 0%, 26.3%) |
| CIE-LAB | lab(40.56, 32.54, -55.71) |
| CIE-LCH | lch(40.56, 64.52, 300.29°) |
| OKLab | oklab(50.08% 0.0331 -0.1595) |
| OKLCH | oklch(50.08% 0.163 281.7) |
| XYZ | xyz(16.0412, 11.5895, 48.9589) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.77
Ocean Blue
#4F42B5
ΔE00 4.49
Slate Blue
#6A5ACD
ΔE00 4.58
Warm Blue
#4B57DB
ΔE00 5.06
Light Indigo
#6D5ACF
ΔE00 5.09
Bluey Purple
#6241C7
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5851BC #B5BC51
analogous
#5180BC #5851BC #8D51BC
triadic
#5851BC #BC5851 #51BC58
tetradic
#5851BC #BC5180 #B5BC51 #51BC8D
square
#5851BC #BC5180 #B5BC51 #51BC8D
split-complementary
#5851BC #BC8D51 #80BC51
monochromatic
#2D296A #403A96 #5851BC #827DCD #ADA9DE
Accessibility & contrast
On white
6.33
#5851BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#5851BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5851BC
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5851BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5851BC | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#2D6A7E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5851bc; /* rgb */ color: rgb(88, 81, 188); /* oklch */ color: oklch(50.1% 0.163 281.7);
Tailwind
colors: {
custom: {
50: '#8f82d1',
500: '#5851bc',
950: '#000000',
},
}SCSS
$custom: #5851bc; $custom-light: #8f82d1; $custom-dark: #000000;
JSON
{
"hex": "#5851bc",
"rgb": {
"r": 88,
"g": 81,
"b": 188
},
"hsl": {
"h": 243.925,
"s": 44.398,
"l": 52.745
},
"oklch": {
"l": 0.50079,
"c": 0.16287,
"h": 281.7
},
"luminance": 0.1159
}Semantic roles & 50–950 ramp
primary
#5851BC
secondary
#C9CC9D
accent
#D454CC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82