#5652AA#5652AA
#5652AA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.137 H 282.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5652AA |
|---|---|
| RGB | rgb(86, 82, 170) |
| HSL | hsl(243, 35%, 49%) |
| HSV | hsv(243, 52%, 67%) |
| CMYK | cmyk(49.4%, 51.8%, 0%, 33.3%) |
| CIE-LAB | lab(39.44, 25.79, -46.92) |
| CIE-LCH | lch(39.44, 53.54, 298.79°) |
| OKLab | oklab(48.82% 0.0287 -0.1337) |
| OKLCH | oklch(48.82% 0.137 282.1) |
| XYZ | xyz(14.1086, 10.9146, 39.3857) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.64
Ocean Blue
#4F42B5
ΔE00 5.31
Twilight
#4E518B
ΔE00 5.69
Blueberry
#464196
ΔE00 5.88
Slate Blue
#6A5ACD
ΔE00 6.55
Light Indigo
#6D5ACF
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5652AA #A6AA52
analogous
#527AAA #5652AA #8252AA
triadic
#5652AA #AA5652 #52AA56
tetradic
#5652AA #AA527A #A6AA52 #52AA82
square
#5652AA #AA527A #A6AA52 #52AA82
split-complementary
#5652AA #AA8252 #7AAA52
monochromatic
#2C2A57 #413E81 #5652AA #7D7ABF #A6A4D3
Accessibility & contrast
On white
6.60
#5652AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#5652AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5652AA
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5652AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5652AA | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#215AA8
Tritanopia (blue-blind)
#376576
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5652aa; /* rgb */ color: rgb(86, 82, 170); /* oklch */ color: oklch(48.8% 0.137 282.1);
Tailwind
colors: {
custom: {
50: '#8b82c4',
500: '#5652aa',
950: '#000000',
},
}SCSS
$custom: #5652aa; $custom-light: #8b82c4; $custom-dark: #000000;
JSON
{
"hex": "#5652aa",
"rgb": {
"r": 86,
"g": 82,
"b": 170
},
"hsl": {
"h": 242.727,
"s": 34.921,
"l": 49.412
},
"oklch": {
"l": 0.48818,
"c": 0.13673,
"h": 282.1
},
"luminance": 0.10915
}Semantic roles & 50–950 ramp
primary
#5652AA
secondary
#BEC098
accent
#CB5DC6
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82