#5651AA#5651AA
#5651AA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.138 H 282.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5651AA |
|---|---|
| RGB | rgb(86, 81, 170) |
| HSL | hsl(243, 35%, 49%) |
| HSV | hsv(243, 52%, 67%) |
| CMYK | cmyk(49.4%, 52.4%, 0%, 33.3%) |
| CIE-LAB | lab(39.18, 26.42, -47.33) |
| CIE-LCH | lch(39.18, 54.21, 299.17°) |
| OKLab | oklab(48.63% 0.0299 -0.1349) |
| OKLCH | oklch(48.63% 0.138 282.5) |
| XYZ | xyz(14.0337, 10.7649, 39.3608) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 5.01
Blueberry
#464196
ΔE00 5.64
Twilight
#4E518B
ΔE00 5.78
Slate Blue
#6A5ACD
ΔE00 6.62
Bluey Purple
#6241C7
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5651AA #A5AA51
analogous
#5179AA #5651AA #8351AA
triadic
#5651AA #AA5651 #51AA56
tetradic
#5651AA #AA5179 #A5AA51 #51AA83
square
#5651AA #AA5179 #A5AA51 #51AA83
split-complementary
#5651AA #AA8351 #79AA51
monochromatic
#2C2A57 #413D81 #5651AA #7D79BF #A5A2D3
Accessibility & contrast
On white
6.66
#5651AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#5651AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5651AA
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5651AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5651AA | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255FAD
Deuteranopia (green-blind)
#1F59A8
Tritanopia (blue-blind)
#376475
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5651aa; /* rgb */ color: rgb(86, 81, 170); /* oklch */ color: oklch(48.6% 0.138 282.5);
Tailwind
colors: {
custom: {
50: '#8b82c4',
500: '#5651aa',
950: '#000000',
},
}SCSS
$custom: #5651aa; $custom-light: #8b82c4; $custom-dark: #000000;
JSON
{
"hex": "#5651aa",
"rgb": {
"r": 86,
"g": 81,
"b": 170
},
"hsl": {
"h": 243.371,
"s": 35.458,
"l": 49.216
},
"oklch": {
"l": 0.48627,
"c": 0.13816,
"h": 282.5
},
"luminance": 0.10766
}Semantic roles & 50–950 ramp
primary
#5651AA
secondary
#BEC097
accent
#CB5CC5
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82