#5646BB#5646BB
#5646BB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.176 H 283.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5646BB |
|---|---|
| RGB | rgb(86, 70, 187) |
| HSL | hsl(248, 46%, 50%) |
| HSV | hsv(248, 63%, 73%) |
| CMYK | cmyk(54%, 62.6%, 0%, 26.7%) |
| CIE-LAB | lab(37.74, 38.51, -59.69) |
| CIE-LCH | lch(37.74, 71.04, 302.83°) |
| OKLab | oklab(47.95% 0.0419 -0.1713) |
| OKLCH | oklch(47.95% 0.176 283.7) |
| XYZ | xyz(14.9948, 9.9458, 48.1337) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.68
Bluey Purple
#6241C7
ΔE00 2.95
Blue With A Hint Of Purple
#533CC6
ΔE00 2.97
Blurple
#5539CC
ΔE00 3.90
Iris
#6258C4
ΔE00 5.55
Blue Blue
#2242C7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5646BB #ABBB46
analogous
#4670BB #5646BB #9046BB
triadic
#5646BB #BB5646 #46BB56
tetradic
#5646BB #BB4670 #ABBB46 #46BB90
square
#5646BB #BB4670 #ABBB46 #46BB90
split-complementary
#5646BB #BB9046 #70BB46
monochromatic
#2D2462 #41358F #5646BB #7F73CB #A8A0DC
Accessibility & contrast
On white
7.02
#5646BB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#5646BB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5646BB
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5646BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5646BB | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#2A627A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5646bb; /* rgb */ color: rgb(86, 70, 187); /* oklch */ color: oklch(47.9% 0.176 283.7);
Tailwind
colors: {
custom: {
50: '#8f7ad0',
500: '#5646bb',
950: '#000000',
},
}SCSS
$custom: #5646bb; $custom-light: #8f7ad0; $custom-dark: #000000;
JSON
{
"hex": "#5646bb",
"rgb": {
"r": 86,
"g": 70,
"b": 187
},
"hsl": {
"h": 248.205,
"s": 46.245,
"l": 50.392
},
"oklch": {
"l": 0.47947,
"c": 0.17635,
"h": 283.7
},
"luminance": 0.09947
}Semantic roles & 50–950 ramp
primary
#5646BB
secondary
#C1C894
accent
#D652C4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82