#5652CB#5652CB
#5652CB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.182 H 279.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5652CB |
|---|---|
| RGB | rgb(86, 82, 203) |
| HSL | hsl(242, 54%, 56%) |
| HSV | hsv(242, 60%, 80%) |
| CMYK | cmyk(57.6%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(41.73, 36.34, -62.54) |
| CIE-LCH | lch(41.73, 72.33, 300.16°) |
| OKLab | oklab(51.25% 0.0294 -0.1796) |
| OKLCH | oklch(51.25% 0.182 279.3) |
| XYZ | xyz(17.6311, 12.3236, 57.9379) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.72
Warm Blue
#4B57DB
ΔE00 3.09
Slate Blue
#6A5ACD
ΔE00 3.93
Light Indigo
#6D5ACF
ΔE00 4.40
Dark Periwinkle
#665FD1
ΔE00 4.58
Bluey Purple
#6241C7
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5652CB #C7CB52
analogous
#528BCB #5652CB #9252CB
triadic
#5652CB #CB5652 #52CB56
tetradic
#5652CB #CB528B #C7CB52 #52CB92
square
#5652CB #CB528B #C7CB52 #52CB92
split-complementary
#5652CB #CB9252 #8BCB52
monochromatic
#28267D #3834AC #5652CB #8481D9 #B2B0E7
Accessibility & contrast
On white
6.06
#5652CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5652CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5652CB
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5652CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5652CB | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#0C6F86
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5652cb; /* rgb */ color: rgb(86, 82, 203); /* oklch */ color: oklch(51.2% 0.182 279.3);
Tailwind
colors: {
custom: {
50: '#9083dc',
500: '#5652cb',
950: '#000000',
},
}SCSS
$custom: #5652cb; $custom-light: #9083dc; $custom-dark: #000000;
JSON
{
"hex": "#5652cb",
"rgb": {
"r": 86,
"g": 82,
"b": 203
},
"hsl": {
"h": 241.983,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.51247,
"c": 0.182,
"h": 279.3
},
"luminance": 0.12325
}Semantic roles & 50–950 ramp
primary
#5652CB
secondary
#D4D5A3
accent
#DD4BD8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83