#5852CF#5852CF
#5852CF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.7% C 0.187 H 279.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5852CF |
|---|---|
| RGB | rgb(88, 82, 207) |
| HSL | hsl(243, 57%, 57%) |
| HSV | hsv(243, 60%, 81%) |
| CMYK | cmyk(57.5%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(42.17, 37.97, -64.11) |
| CIE-LCH | lch(42.17, 74.51, 300.64°) |
| OKLab | oklab(51.71% 0.0317 -0.1842) |
| OKLCH | oklch(51.71% 0.187 279.8) |
| XYZ | xyz(18.3007, 12.6130, 60.4896) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.77
Warm Blue
#4B57DB
ΔE00 2.94
Slate Blue
#6A5ACD
ΔE00 3.64
Light Indigo
#6D5ACF
ΔE00 4.06
Dark Periwinkle
#665FD1
ΔE00 4.34
Bluey Purple
#6241C7
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5852CF #C9CF52
analogous
#528BCF #5852CF #9752CF
triadic
#5852CF #CF5852 #52CF58
tetradic
#5852CF #CF528B #C9CF52 #52CF97
square
#5852CF #CF528B #C9CF52 #52CF97
split-complementary
#5852CF #CF9752 #8BCF52
monochromatic
#292482 #3831B2 #5852CF #8682DC #B4B2EA
Accessibility & contrast
On white
5.96
#5852CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5852CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5852CF
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5852CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5852CF | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#0E7089
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5852cf; /* rgb */ color: rgb(88, 82, 207); /* oklch */ color: oklch(51.7% 0.187 279.8);
Tailwind
colors: {
custom: {
50: '#9283df',
500: '#5852cf',
950: '#000000',
},
}SCSS
$custom: #5852cf; $custom-light: #9283df; $custom-dark: #000000;
JSON
{
"hex": "#5852cf",
"rgb": {
"r": 88,
"g": 82,
"b": 207
},
"hsl": {
"h": 242.88,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.51709,
"c": 0.18689,
"h": 279.8
},
"luminance": 0.12614
}Semantic roles & 50–950 ramp
primary
#5852CF
secondary
#D6D8A5
accent
#E048D9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83