#5652E2#5652E2
#5652E2 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.212 H 277.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5652E2 |
|---|---|
| RGB | rgb(86, 82, 226) |
| HSL | hsl(242, 71%, 60%) |
| HSV | hsv(242, 64%, 89%) |
| CMYK | cmyk(61.9%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(43.51, 43.72, -72.81) |
| CIE-LCH | lch(43.51, 84.93, 300.99°) |
| OKLab | oklab(53.11% 0.028 -0.2098) |
| OKLCH | oklch(53.11% 0.212 277.6) |
| XYZ | xyz(20.5781, 13.5024, 73.4586) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.51
Slate Blue
#6A5ACD
ΔE00 4.48
Iris
#6258C4
ΔE00 4.61
Light Indigo
#6D5ACF
ΔE00 4.68
Dark Periwinkle
#665FD1
ΔE00 4.69
Purpleish Blue
#6140EF
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5652E2 #DEE252
analogous
#5296E2 #5652E2 #9E52E2
triadic
#5652E2 #E25652 #52E256
tetradic
#5652E2 #E25296 #DEE252 #52E29E
square
#5652E2 #E25296 #DEE252 #52E29E
split-complementary
#5652E2 #E29E52 #96E252
monochromatic
#1E1B9F #2823D3 #5652E2 #8986EB #BCBBF4
Accessibility & contrast
On white
5.67
#5652E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#5652E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5652E2
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5652E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5652E2 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5652e2; /* rgb */ color: rgb(86, 82, 226); /* oklch */ color: oklch(53.1% 0.212 277.6);
Tailwind
colors: {
custom: {
50: '#9483ec',
500: '#5652e2',
950: '#000000',
},
}SCSS
$custom: #5652e2; $custom-light: #9483ec; $custom-dark: #000000;
JSON
{
"hex": "#5652e2",
"rgb": {
"r": 86,
"g": 82,
"b": 226
},
"hsl": {
"h": 241.667,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.53112,
"c": 0.21164,
"h": 277.6
},
"luminance": 0.13504
}Semantic roles & 50–950 ramp
primary
#5652E2
secondary
#E2E3AC
accent
#D312CE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84