#5646B2#5646B2
#5646B2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.165 H 285.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5646B2 |
|---|---|
| RGB | rgb(86, 70, 178) |
| HSL | hsl(249, 44%, 49%) |
| HSV | hsv(249, 61%, 70%) |
| CMYK | cmyk(51.7%, 60.7%, 0%, 30.2%) |
| CIE-LAB | lab(37.06, 35.72, -55.49) |
| CIE-LCH | lch(37.06, 66.00, 302.77°) |
| OKLab | oklab(47.23% 0.0425 -0.1589) |
| OKLCH | oklch(47.23% 0.165 285) |
| XYZ | xyz(14.0614, 9.5724, 43.2176) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.59
Blue With A Hint Of Purple
#533CC6
ΔE00 3.87
Bluey Purple
#6241C7
ΔE00 3.88
Blurple
#5539CC
ΔE00 4.84
Blueberry
#464196
ΔE00 5.06
Iris
#6258C4
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5646B2 #A2B246
analogous
#466CB2 #5646B2 #8C46B2
triadic
#5646B2 #B25646 #46B256
tetradic
#5646B2 #B2466C #A2B246 #46B28C
square
#5646B2 #B2466C #A2B246 #46B28C
split-complementary
#5646B2 #B28C46 #6CB246
monochromatic
#2C235A #413586 #5646B2 #7C6FC6 #A49BD8
Accessibility & contrast
On white
7.21
#5646B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#5646B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5646B2
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5646B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5646B2 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#335F75
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5646b2; /* rgb */ color: rgb(86, 70, 178); /* oklch */ color: oklch(47.2% 0.165 285.0);
Tailwind
colors: {
custom: {
50: '#8d7aca',
500: '#5646b2',
950: '#000000',
},
}SCSS
$custom: #5646b2; $custom-light: #8d7aca; $custom-dark: #000000;
JSON
{
"hex": "#5646b2",
"rgb": {
"r": 86,
"g": 70,
"b": 178
},
"hsl": {
"h": 248.889,
"s": 43.548,
"l": 48.627
},
"oklch": {
"l": 0.47234,
"c": 0.16452,
"h": 285
},
"luminance": 0.09573
}Semantic roles & 50–950 ramp
primary
#5646B2
secondary
#BCC490
accent
#D355C1
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82