#5652CF#5652CF
#5652CF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.6% C 0.187 H 279.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5652CF |
|---|---|
| RGB | rgb(86, 82, 207) |
| HSL | hsl(242, 57%, 57%) |
| HSV | hsv(242, 60%, 81%) |
| CMYK | cmyk(58.5%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(42.03, 37.63, -64.36) |
| CIE-LCH | lch(42.03, 74.55, 300.31°) |
| OKLab | oklab(51.56% 0.0292 -0.185) |
| OKLCH | oklch(51.56% 0.187 279) |
| XYZ | xyz(18.1140, 12.5167, 60.4808) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.75
Iris
#6258C4
ΔE00 2.94
Slate Blue
#6A5ACD
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 4.32
Dark Periwinkle
#665FD1
ΔE00 4.47
Bluey Purple
#6241C7
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5652CF #CBCF52
analogous
#528DCF #5652CF #9552CF
triadic
#5652CF #CF5652 #52CF56
tetradic
#5652CF #CF528D #CBCF52 #52CF95
square
#5652CF #CF528D #CBCF52 #52CF95
split-complementary
#5652CF #CF9552 #8DCF52
monochromatic
#272482 #3631B2 #5652CF #8582DC #B4B2EA
Accessibility & contrast
On white
5.99
#5652CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#5652CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5652CF
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5652CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5652CF | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5652cf; /* rgb */ color: rgb(86, 82, 207); /* oklch */ color: oklch(51.6% 0.187 279.0);
Tailwind
colors: {
custom: {
50: '#9183df',
500: '#5652cf',
950: '#000000',
},
}SCSS
$custom: #5652cf; $custom-light: #9183df; $custom-dark: #000000;
JSON
{
"hex": "#5652cf",
"rgb": {
"r": 86,
"g": 82,
"b": 207
},
"hsl": {
"h": 241.92,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.51563,
"c": 0.18726,
"h": 279
},
"luminance": 0.12518
}Semantic roles & 50–950 ramp
primary
#5652CF
secondary
#D6D8A5
accent
#E048DB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83