#5852CA#5852CA
#5852CA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.3% C 0.180 H 280.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5852CA |
|---|---|
| RGB | rgb(88, 82, 202) |
| HSL | hsl(243, 53%, 56%) |
| HSV | hsv(243, 59%, 79%) |
| CMYK | cmyk(56.4%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(41.80, 36.38, -61.83) |
| CIE-LCH | lch(41.80, 71.74, 300.47°) |
| OKLab | oklab(51.32% 0.0319 -0.1775) |
| OKLCH | oklch(51.32% 0.18 280.2) |
| XYZ | xyz(17.6991, 12.3724, 57.3211) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.48
Warm Blue
#4B57DB
ΔE00 3.35
Slate Blue
#6A5ACD
ΔE00 3.70
Light Indigo
#6D5ACF
ΔE00 4.17
Dark Periwinkle
#665FD1
ΔE00 4.48
Bluey Purple
#6241C7
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5852CA #C4CA52
analogous
#5288CA #5852CA #9452CA
triadic
#5852CA #CA5852 #52CA58
tetradic
#5852CA #CA5288 #C4CA52 #52CA94
square
#5852CA #CA5288 #C4CA52 #52CA94
split-complementary
#5852CA #CA9452 #88CA52
monochromatic
#2A267C #3A34AB #5852CA #8581D8 #B2B0E7
Accessibility & contrast
On white
6.04
#5852CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5852CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5852CA
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5852CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5852CA | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#1A6F86
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5852ca; /* rgb */ color: rgb(88, 82, 202); /* oklch */ color: oklch(51.3% 0.180 280.2);
Tailwind
colors: {
custom: {
50: '#9183db',
500: '#5852ca',
950: '#000000',
},
}SCSS
$custom: #5852ca; $custom-light: #9183db; $custom-dark: #000000;
JSON
{
"hex": "#5852ca",
"rgb": {
"r": 88,
"g": 82,
"b": 202
},
"hsl": {
"h": 243,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.51318,
"c": 0.18031,
"h": 280.2
},
"luminance": 0.12374
}Semantic roles & 50–950 ramp
primary
#5852CA
secondary
#D2D5A3
accent
#DD4BD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83