#5652CA#5652CA
#5652CA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.181 H 279.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5652CA |
|---|---|
| RGB | rgb(86, 82, 202) |
| HSL | hsl(242, 53%, 56%) |
| HSV | hsv(242, 59%, 79%) |
| CMYK | cmyk(57.4%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(41.65, 36.02, -62.08) |
| CIE-LCH | lch(41.65, 71.77, 300.12°) |
| OKLab | oklab(51.17% 0.0294 -0.1783) |
| OKLCH | oklch(51.17% 0.181 279.4) |
| XYZ | xyz(17.5123, 12.2761, 57.3124) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.68
Warm Blue
#4B57DB
ΔE00 3.18
Slate Blue
#6A5ACD
ΔE00 3.95
Light Indigo
#6D5ACF
ΔE00 4.43
Dark Periwinkle
#665FD1
ΔE00 4.61
Bluey Purple
#6241C7
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5652CA #C6CA52
analogous
#528ACA #5652CA #9252CA
triadic
#5652CA #CA5652 #52CA56
tetradic
#5652CA #CA528A #C6CA52 #52CA92
square
#5652CA #CA528A #C6CA52 #52CA92
split-complementary
#5652CA #CA9252 #8ACA52
monochromatic
#29267C #3834AB #5652CA #8481D8 #B2B0E7
Accessibility & contrast
On white
6.08
#5652CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#5652CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5652CA
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5652CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5652CA | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#0F6F86
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5652ca; /* rgb */ color: rgb(86, 82, 202); /* oklch */ color: oklch(51.2% 0.181 279.4);
Tailwind
colors: {
custom: {
50: '#9083db',
500: '#5652ca',
950: '#000000',
},
}SCSS
$custom: #5652ca; $custom-light: #9083db; $custom-dark: #000000;
JSON
{
"hex": "#5652ca",
"rgb": {
"r": 86,
"g": 82,
"b": 202
},
"hsl": {
"h": 242,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.51169,
"c": 0.18068,
"h": 279.4
},
"luminance": 0.12277
}Semantic roles & 50–950 ramp
primary
#5652CA
secondary
#D3D5A3
accent
#DD4BD8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83