#5652C2#5652C2
#5652C2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.170 H 280.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5652C2 |
|---|---|
| RGB | rgb(86, 82, 194) |
| HSL | hsl(242, 48%, 54%) |
| HSV | hsv(242, 58%, 76%) |
| CMYK | cmyk(55.7%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(41.07, 33.45, -58.39) |
| CIE-LCH | lch(41.07, 67.29, 299.80°) |
| OKLab | oklab(50.55% 0.0295 -0.1674) |
| OKLCH | oklch(50.55% 0.17 280) |
| XYZ | xyz(16.5896, 11.9070, 52.4526) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.57
Warm Blue
#4B57DB
ΔE00 4.05
Slate Blue
#6A5ACD
ΔE00 4.27
Light Indigo
#6D5ACF
ΔE00 4.80
Ocean Blue
#4F42B5
ΔE00 4.97
Dark Periwinkle
#665FD1
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5652C2 #BEC252
analogous
#5286C2 #5652C2 #8E52C2
triadic
#5652C2 #C25652 #52C256
tetradic
#5652C2 #C25286 #BEC252 #52C28E
square
#5652C2 #C25286 #BEC252 #52C28E
split-complementary
#5652C2 #C28E52 #86C252
monochromatic
#2B2872 #3C389F #5652C2 #827FD2 #AEACE2
Accessibility & contrast
On white
6.21
#5652C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#5652C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5652C2
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5652C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5652C2 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#1F6C82
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5652c2; /* rgb */ color: rgb(86, 82, 194); /* oklch */ color: oklch(50.6% 0.170 280.0);
Tailwind
colors: {
custom: {
50: '#8f83d5',
500: '#5652c2',
950: '#000000',
},
}SCSS
$custom: #5652c2; $custom-light: #8f83d5; $custom-dark: #000000;
JSON
{
"hex": "#5652c2",
"rgb": {
"r": 86,
"g": 82,
"b": 194
},
"hsl": {
"h": 242.143,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.50554,
"c": 0.17,
"h": 280
},
"luminance": 0.11908
}Semantic roles & 50–950 ramp
primary
#5652C2
secondary
#CED0A0
accent
#D750D3
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0A14
muted
#7E7C83