#5647C2#5647C2
#5647C2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.184 H 282.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5647C2 |
|---|---|
| RGB | rgb(86, 71, 194) |
| HSL | hsl(247, 50%, 52%) |
| HSV | hsv(247, 63%, 76%) |
| CMYK | cmyk(55.7%, 63.4%, 0%, 23.9%) |
| CIE-LAB | lab(38.51, 40.10, -62.54) |
| CIE-LCH | lch(38.51, 74.29, 302.67°) |
| OKLab | oklab(48.68% 0.0404 -0.1797) |
| OKLCH | oklch(48.68% 0.184 282.7) |
| XYZ | xyz(15.8256, 10.3790, 52.1979) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.48
Bluey Purple
#6241C7
ΔE00 2.67
Blue With A Hint Of Purple
#533CC6
ΔE00 2.87
Blurple
#5539CC
ΔE00 3.66
Iris
#6258C4
ΔE00 5.14
Blue Blue
#2242C7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5647C2 #B3C247
analogous
#4776C2 #5647C2 #9447C2
triadic
#5647C2 #C25647 #47C256
tetradic
#5647C2 #C24776 #B3C247 #47C294
square
#5647C2 #C24776 #B3C247 #47C294
split-complementary
#5647C2 #C29447 #76C247
monochromatic
#2C246B #3F3399 #5647C2 #8075D1 #AAA3E0
Accessibility & contrast
On white
6.83
#5647C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#5647C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5647C2
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5647C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5647C2 | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#21657E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5647c2; /* rgb */ color: rgb(86, 71, 194); /* oklch */ color: oklch(48.7% 0.184 282.7);
Tailwind
colors: {
custom: {
50: '#907bd5',
500: '#5647c2',
950: '#000000',
},
}SCSS
$custom: #5647c2; $custom-light: #907bd5; $custom-dark: #000000;
JSON
{
"hex": "#5647c2",
"rgb": {
"r": 86,
"g": 71,
"b": 194
},
"hsl": {
"h": 247.317,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.48678,
"c": 0.18414,
"h": 282.7
},
"luminance": 0.1038
}Semantic roles & 50–950 ramp
primary
#5647C2
secondary
#C7CD97
accent
#DA4EC9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83