#5651AC#5651AC
#5651AC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.141 H 282.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5651AC |
|---|---|
| RGB | rgb(86, 81, 172) |
| HSL | hsl(243, 36%, 50%) |
| HSV | hsv(243, 53%, 67%) |
| CMYK | cmyk(50%, 52.9%, 0%, 32.5%) |
| CIE-LAB | lab(39.31, 27.05, -48.31) |
| CIE-LCH | lch(39.31, 55.37, 299.25°) |
| OKLab | oklab(48.77% 0.03 -0.1378) |
| OKLCH | oklch(48.77% 0.141 282.3) |
| XYZ | xyz(14.2243, 10.8411, 40.3648) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.47
Ocean Blue
#4F42B5
ΔE00 4.86
Blueberry
#464196
ΔE00 5.78
Twilight
#4E518B
ΔE00 6.09
Slate Blue
#6A5ACD
ΔE00 6.37
Bluey Purple
#6241C7
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5651AC #A7AC51
analogous
#5179AC #5651AC #8451AC
triadic
#5651AC #AC5651 #51AC56
tetradic
#5651AC #AC5179 #A7AC51 #51AC84
square
#5651AC #AC5179 #A7AC51 #51AC84
split-complementary
#5651AC #AC8451 #79AC51
monochromatic
#2C2A59 #413D82 #5651AC #7E7AC0 #A6A3D4
Accessibility & contrast
On white
6.63
#5651AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#5651AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5651AC
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5651AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5651AC | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#1B59AA
Tritanopia (blue-blind)
#366576
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5651ac; /* rgb */ color: rgb(86, 81, 172); /* oklch */ color: oklch(48.8% 0.141 282.3);
Tailwind
colors: {
custom: {
50: '#8c82c5',
500: '#5651ac',
950: '#000000',
},
}SCSS
$custom: #5651ac; $custom-light: #8c82c5; $custom-dark: #000000;
JSON
{
"hex": "#5651ac",
"rgb": {
"r": 86,
"g": 81,
"b": 172
},
"hsl": {
"h": 243.297,
"s": 35.968,
"l": 49.608
},
"oklch": {
"l": 0.48766,
"c": 0.141,
"h": 282.3
},
"luminance": 0.10842
}Semantic roles & 50–950 ramp
primary
#5651AC
secondary
#BFC198
accent
#CC5CC6
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82