#5852CE#5852CE
#5852CE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.186 H 279.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5852CE |
|---|---|
| RGB | rgb(88, 82, 206) |
| HSL | hsl(243, 56%, 56%) |
| HSV | hsv(243, 60%, 81%) |
| CMYK | cmyk(57.3%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(42.10, 37.65, -63.66) |
| CIE-LCH | lch(42.10, 73.96, 300.60°) |
| OKLab | oklab(51.63% 0.0317 -0.1828) |
| OKLCH | oklch(51.63% 0.186 279.8) |
| XYZ | xyz(18.1789, 12.5643, 59.8478) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.71
Warm Blue
#4B57DB
ΔE00 3.02
Slate Blue
#6A5ACD
ΔE00 3.64
Light Indigo
#6D5ACF
ΔE00 4.08
Dark Periwinkle
#665FD1
ΔE00 4.36
Bluey Purple
#6241C7
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5852CE #C8CE52
analogous
#528ACE #5852CE #9652CE
triadic
#5852CE #CE5852 #52CE58
tetradic
#5852CE #CE528A #C8CE52 #52CE96
square
#5852CE #CE528A #C8CE52 #52CE96
split-complementary
#5852CE #CE9652 #8ACE52
monochromatic
#292581 #3832B1 #5852CE #8682DC #B4B1E9
Accessibility & contrast
On white
5.98
#5852CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#5852CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5852CE
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5852CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5852CE | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#117088
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5852ce; /* rgb */ color: rgb(88, 82, 206); /* oklch */ color: oklch(51.6% 0.186 279.8);
Tailwind
colors: {
custom: {
50: '#9283de',
500: '#5852ce',
950: '#000000',
},
}SCSS
$custom: #5852ce; $custom-light: #9283de; $custom-dark: #000000;
JSON
{
"hex": "#5852ce",
"rgb": {
"r": 88,
"g": 82,
"b": 206
},
"hsl": {
"h": 242.903,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.51631,
"c": 0.18557,
"h": 279.8
},
"luminance": 0.12566
}Semantic roles & 50–950 ramp
primary
#5852CE
secondary
#D5D7A4
accent
#DF49D8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83