#5646BF#5646BF
#5646BF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.182 H 283.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5646BF |
|---|---|
| RGB | rgb(86, 70, 191) |
| HSL | hsl(248, 49%, 51%) |
| HSV | hsv(248, 63%, 75%) |
| CMYK | cmyk(55%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(38.06, 39.75, -61.53) |
| CIE-LCH | lch(38.06, 73.26, 302.87°) |
| OKLab | oklab(48.27% 0.0416 -0.1767) |
| OKLCH | oklch(48.27% 0.182 283.2) |
| XYZ | xyz(15.4290, 10.1194, 50.4203) |
| Luminance | 0.1012 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.03
Bluey Purple
#6241C7
ΔE00 2.65
Blue With A Hint Of Purple
#533CC6
ΔE00 2.71
Blurple
#5539CC
ΔE00 3.58
Iris
#6258C4
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5646BF #AFBF46
analogous
#4672BF #5646BF #9246BF
triadic
#5646BF #BF5646 #46BF56
tetradic
#5646BF #BF4672 #AFBF46 #46BF92
square
#5646BF #BF4672 #AFBF46 #46BF92
split-complementary
#5646BF #BF9246 #72BF46
monochromatic
#2D2467 #403394 #5646BF #8073CF #A9A1DE
Accessibility & contrast
On white
6.94
#5646BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#5646BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5646BF
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5646BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5646BF | 1.00 | 6.94 | 3.02 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#26647C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5646bf; /* rgb */ color: rgb(86, 70, 191); /* oklch */ color: oklch(48.3% 0.182 283.2);
Tailwind
colors: {
custom: {
50: '#8f7ad3',
500: '#5646bf',
950: '#000000',
},
}SCSS
$custom: #5646bf; $custom-light: #8f7ad3; $custom-dark: #000000;
JSON
{
"hex": "#5646bf",
"rgb": {
"r": 86,
"g": 70,
"b": 191
},
"hsl": {
"h": 247.934,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.48271,
"c": 0.18153,
"h": 283.2
},
"luminance": 0.1012
}Semantic roles & 50–950 ramp
primary
#5646BF
secondary
#C4CB96
accent
#D850C6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83