#5652D7#5652D7
#5652D7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.2% C 0.198 H 278.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5652D7 |
|---|---|
| RGB | rgb(86, 82, 215) |
| HSL | hsl(242, 62%, 58%) |
| HSV | hsv(242, 62%, 84%) |
| CMYK | cmyk(60%, 61.9%, 0%, 15.7%) |
| CIE-LAB | lab(42.64, 40.20, -67.96) |
| CIE-LCH | lch(42.64, 78.95, 300.60°) |
| OKLab | oklab(52.21% 0.0288 -0.1955) |
| OKLCH | oklch(52.21% 0.198 278.4) |
| XYZ | xyz(19.1169, 12.9179, 65.7628) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.34
Iris
#6258C4
ΔE00 3.56
Slate Blue
#6A5ACD
ΔE00 3.99
Light Indigo
#6D5ACF
ΔE00 4.33
Dark Periwinkle
#665FD1
ΔE00 4.42
Purpleish Blue
#6140EF
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5652D7 #D3D752
analogous
#5290D7 #5652D7 #9952D7
triadic
#5652D7 #D75652 #52D756
tetradic
#5652D7 #D75290 #D3D752 #52D799
square
#5652D7 #D75290 #D3D752 #52D799
split-complementary
#5652D7 #D79952 #90D752
monochromatic
#24218E #312CC0 #5652D7 #8784E2 #B7B5EE
Accessibility & contrast
On white
5.86
#5652D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#5652D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5652D7
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5652D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5652D7 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5652d7; /* rgb */ color: rgb(86, 82, 215); /* oklch */ color: oklch(52.2% 0.198 278.4);
Tailwind
colors: {
custom: {
50: '#9283e4',
500: '#5652d7',
950: '#000000',
},
}SCSS
$custom: #5652d7; $custom-light: #9283e4; $custom-dark: #000000;
JSON
{
"hex": "#5652d7",
"rgb": {
"r": 86,
"g": 82,
"b": 215
},
"hsl": {
"h": 241.805,
"s": 62.441,
"l": 58.235
},
"oklch": {
"l": 0.52205,
"c": 0.19765,
"h": 278.4
},
"luminance": 0.12919
}Semantic roles & 50–950 ramp
primary
#5652D7
secondary
#DBDDA8
accent
#E642E1
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84