#5652C8#5652C8
#5652C8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.178 H 279.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5652C8 |
|---|---|
| RGB | rgb(86, 82, 200) |
| HSL | hsl(242, 52%, 55%) |
| HSV | hsv(242, 59%, 78%) |
| CMYK | cmyk(57%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(41.50, 35.37, -61.17) |
| CIE-LCH | lch(41.50, 70.66, 300.04°) |
| OKLab | oklab(51.01% 0.0295 -0.1756) |
| OKLCH | oklch(51.01% 0.178 279.5) |
| XYZ | xyz(17.2771, 12.1820, 56.0733) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.61
Warm Blue
#4B57DB
ΔE00 3.38
Slate Blue
#6A5ACD
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 4.50
Dark Periwinkle
#665FD1
ΔE00 4.69
Bluey Purple
#6241C7
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5652C8 #C4C852
analogous
#5289C8 #5652C8 #9152C8
triadic
#5652C8 #C85652 #52C856
tetradic
#5652C8 #C85289 #C4C852 #52C891
square
#5652C8 #C85289 #C4C852 #52C891
split-complementary
#5652C8 #C89152 #89C852
monochromatic
#292779 #3935A8 #5652C8 #8380D7 #B1AFE6
Accessibility & contrast
On white
6.11
#5652C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5652C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5652C8
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5652C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5652C8 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#146E85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5652c8; /* rgb */ color: rgb(86, 82, 200); /* oklch */ color: oklch(51.0% 0.178 279.5);
Tailwind
colors: {
custom: {
50: '#9083da',
500: '#5652c8',
950: '#000000',
},
}SCSS
$custom: #5652c8; $custom-light: #9083da; $custom-dark: #000000;
JSON
{
"hex": "#5652c8",
"rgb": {
"r": 86,
"g": 82,
"b": 200
},
"hsl": {
"h": 242.034,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.51014,
"c": 0.17802,
"h": 279.5
},
"luminance": 0.12183
}Semantic roles & 50–950 ramp
primary
#5652C8
secondary
#D2D4A2
accent
#DB4DD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83