#5647B8#5647B8
#5647B8 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.171 H 283.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5647B8 |
|---|---|
| RGB | rgb(86, 71, 184) |
| HSL | hsl(248, 44%, 50%) |
| HSV | hsv(248, 61%, 72%) |
| CMYK | cmyk(53.3%, 61.4%, 0%, 27.8%) |
| CIE-LAB | lab(37.74, 36.98, -57.93) |
| CIE-LCH | lch(37.74, 68.73, 302.55°) |
| OKLab | oklab(47.87% 0.0411 -0.1661) |
| OKLCH | oklch(47.87% 0.171 283.9) |
| XYZ | xyz(14.7401, 9.9448, 46.4809) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.71
Bluey Purple
#6241C7
ΔE00 3.37
Blue With A Hint Of Purple
#533CC6
ΔE00 3.45
Blurple
#5539CC
ΔE00 4.40
Iris
#6258C4
ΔE00 5.42
Blueberry
#464196
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5647B8 #A9B847
analogous
#4770B8 #5647B8 #8F47B8
triadic
#5647B8 #B85647 #47B856
tetradic
#5647B8 #B84770 #A9B847 #47B88F
square
#5647B8 #B84770 #A9B847 #47B88F
split-complementary
#5647B8 #B88F47 #70B847
monochromatic
#2D2560 #41368C #5647B8 #7F73C9 #A79FDA
Accessibility & contrast
On white
7.03
#5647B8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#5647B8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5647B8
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5647B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5647B8 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#2D6279
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5647b8; /* rgb */ color: rgb(86, 71, 184); /* oklch */ color: oklch(47.9% 0.171 283.9);
Tailwind
colors: {
custom: {
50: '#8e7bce',
500: '#5647b8',
950: '#000000',
},
}SCSS
$custom: #5647b8; $custom-light: #8e7bce; $custom-dark: #000000;
JSON
{
"hex": "#5647b8",
"rgb": {
"r": 86,
"g": 71,
"b": 184
},
"hsl": {
"h": 247.965,
"s": 44.314,
"l": 50
},
"oklch": {
"l": 0.47874,
"c": 0.17113,
"h": 283.9
},
"luminance": 0.09946
}Semantic roles & 50–950 ramp
primary
#5647B8
secondary
#C0C794
accent
#D454C3
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82