#5647BB#5647BB
#5647BB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.1% C 0.175 H 283.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5647BB |
|---|---|
| RGB | rgb(86, 71, 187) |
| HSL | hsl(248, 46%, 51%) |
| HSV | hsv(248, 62%, 73%) |
| CMYK | cmyk(54%, 62%, 0%, 26.7%) |
| CIE-LAB | lab(37.97, 37.91, -59.32) |
| CIE-LCH | lch(37.97, 70.41, 302.58°) |
| OKLab | oklab(48.11% 0.0409 -0.1702) |
| OKLCH | oklch(48.11% 0.175 283.5) |
| XYZ | xyz(15.0579, 10.0719, 48.1547) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.85
Bluey Purple
#6241C7
ΔE00 3.10
Blue With A Hint Of Purple
#533CC6
ΔE00 3.21
Blurple
#5539CC
ΔE00 4.13
Iris
#6258C4
ΔE00 5.30
Blue Blue
#2242C7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5647BB #ACBB47
analogous
#4772BB #5647BB #9047BB
triadic
#5647BB #BB5647 #47BB56
tetradic
#5647BB #BB4772 #ACBB47 #47BB90
square
#5647BB #BB4772 #ACBB47 #47BB90
split-complementary
#5647BB #BB9047 #72BB47
monochromatic
#2D2563 #413590 #5647BB #7F74CC #A8A0DC
Accessibility & contrast
On white
6.97
#5647BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#5647BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5647BB
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5647BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5647BB | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#2A637A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5647bb; /* rgb */ color: rgb(86, 71, 187); /* oklch */ color: oklch(48.1% 0.175 283.5);
Tailwind
colors: {
custom: {
50: '#8e7bd0',
500: '#5647bb',
950: '#000000',
},
}SCSS
$custom: #5647bb; $custom-light: #8e7bd0; $custom-dark: #000000;
JSON
{
"hex": "#5647bb",
"rgb": {
"r": 86,
"g": 71,
"b": 187
},
"hsl": {
"h": 247.759,
"s": 46.032,
"l": 50.588
},
"oklch": {
"l": 0.48112,
"c": 0.17506,
"h": 283.5
},
"luminance": 0.10073
}Semantic roles & 50–950 ramp
primary
#5647BB
secondary
#C2C995
accent
#D652C5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82