#5851CA#5851CA
#5851CA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.182 H 280.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5851CA |
|---|---|
| RGB | rgb(88, 81, 202) |
| HSL | hsl(243, 53%, 55%) |
| HSV | hsv(243, 60%, 79%) |
| CMYK | cmyk(56.4%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(41.57, 36.98, -62.21) |
| CIE-LCH | lch(41.57, 72.37, 300.73°) |
| OKLab | oklab(51.15% 0.0328 -0.1786) |
| OKLCH | oklch(51.15% 0.182 280.4) |
| XYZ | xyz(17.6243, 12.2227, 57.2962) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.67
Warm Blue
#4B57DB
ΔE00 3.53
Slate Blue
#6A5ACD
ΔE00 3.86
Light Indigo
#6D5ACF
ΔE00 4.31
Dark Periwinkle
#665FD1
ΔE00 4.72
Bluey Purple
#6241C7
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5851CA #C3CA51
analogous
#5186CA #5851CA #9451CA
triadic
#5851CA #CA5851 #51CA58
tetradic
#5851CA #CA5186 #C3CA51 #51CA94
square
#5851CA #CA5186 #C3CA51 #51CA94
split-complementary
#5851CA #CA9451 #86CA51
monochromatic
#2A257B #3B34AA #5851CA #8580D8 #B2AFE7
Accessibility & contrast
On white
6.10
#5851CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5851CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5851CA
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5851CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5851CA | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#1A6E86
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5851ca; /* rgb */ color: rgb(88, 81, 202); /* oklch */ color: oklch(51.1% 0.182 280.4);
Tailwind
colors: {
custom: {
50: '#9182db',
500: '#5851ca',
950: '#000000',
},
}SCSS
$custom: #5851ca; $custom-light: #9182db; $custom-dark: #000000;
JSON
{
"hex": "#5851ca",
"rgb": {
"r": 88,
"g": 81,
"b": 202
},
"hsl": {
"h": 243.471,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.51146,
"c": 0.18159,
"h": 280.4
},
"luminance": 0.12224
}Semantic roles & 50–950 ramp
primary
#5851CA
secondary
#D2D5A2
accent
#DD4BD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83