#5652E3#5652E3
#5652E3 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.2% C 0.213 H 277.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5652E3 |
|---|---|
| RGB | rgb(86, 82, 227) |
| HSL | hsl(242, 72%, 61%) |
| HSV | hsv(242, 64%, 89%) |
| CMYK | cmyk(62.1%, 63.9%, 0%, 11%) |
| CIE-LAB | lab(43.59, 44.04, -73.24) |
| CIE-LCH | lch(43.59, 85.46, 301.02°) |
| OKLab | oklab(53.2% 0.028 -0.211) |
| OKLCH | oklch(53.2% 0.213 277.5) |
| XYZ | xyz(20.7157, 13.5574, 74.1833) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.57
Slate Blue
#6A5ACD
ΔE00 4.54
Purpleish Blue
#6140EF
ΔE00 4.70
Iris
#6258C4
ΔE00 4.71
Light Indigo
#6D5ACF
ΔE00 4.72
Dark Periwinkle
#665FD1
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5652E3 #DFE352
analogous
#5296E3 #5652E3 #9E52E3
triadic
#5652E3 #E35652 #52E356
tetradic
#5652E3 #E35296 #DFE352 #52E39E
square
#5652E3 #E35296 #DFE352 #52E39E
split-complementary
#5652E3 #E39E52 #96E352
monochromatic
#1E1AA1 #2723D5 #5652E3 #8987EC #BDBBF4
Accessibility & contrast
On white
5.66
#5652E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#5652E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5652E3
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5652E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5652E3 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5652e3; /* rgb */ color: rgb(86, 82, 227); /* oklch */ color: oklch(53.2% 0.213 277.5);
Tailwind
colors: {
custom: {
50: '#9483ed',
500: '#5652e3',
950: '#000000',
},
}SCSS
$custom: #5652e3; $custom-light: #9483ed; $custom-dark: #000000;
JSON
{
"hex": "#5652e3",
"rgb": {
"r": 86,
"g": 82,
"b": 227
},
"hsl": {
"h": 241.655,
"s": 72.139,
"l": 60.588
},
"oklch": {
"l": 0.53196,
"c": 0.21289,
"h": 277.5
},
"luminance": 0.13559
}Semantic roles & 50–950 ramp
primary
#5652E3
secondary
#E2E4AD
accent
#D411CF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84