#564CB5#564CB5
#564CB5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.160 H 282.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #564CB5 |
|---|---|
| RGB | rgb(86, 76, 181) |
| HSL | hsl(246, 42%, 50%) |
| HSV | hsv(246, 58%, 71%) |
| CMYK | cmyk(52.5%, 58%, 0%, 29%) |
| CIE-LAB | lab(38.70, 33.00, -54.62) |
| CIE-LCH | lch(38.70, 63.81, 301.14°) |
| OKLab | oklab(48.5% 0.0359 -0.1564) |
| OKLCH | oklch(48.5% 0.16 282.9) |
| XYZ | xyz(14.7601, 10.4827, 44.9527) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.95
Iris
#6258C4
ΔE00 4.41
Bluey Purple
#6241C7
ΔE00 4.61
Blue With A Hint Of Purple
#533CC6
ΔE00 4.97
Blueberry
#464196
ΔE00 5.84
Blurple
#5539CC
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#564CB5 #ABB54C
analogous
#4C77B5 #564CB5 #8A4CB5
triadic
#564CB5 #B5564C #4CB556
tetradic
#564CB5 #B54C77 #ABB54C #4CB58A
square
#564CB5 #B54C77 #ABB54C #4CB58A
split-complementary
#564CB5 #B58A4C #77B54C
monochromatic
#2D275F #41398B #564CB5 #7F77C7 #A8A3D9
Accessibility & contrast
On white
6.78
#564CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#564CB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #564CB5
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##564CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##564CB5 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#2F6479
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #564cb5; /* rgb */ color: rgb(86, 76, 181); /* oklch */ color: oklch(48.5% 0.160 282.9);
Tailwind
colors: {
custom: {
50: '#8d7ecc',
500: '#564cb5',
950: '#000000',
},
}SCSS
$custom: #564cb5; $custom-light: #8d7ecc; $custom-dark: #000000;
JSON
{
"hex": "#564cb5",
"rgb": {
"r": 86,
"g": 76,
"b": 181
},
"hsl": {
"h": 245.714,
"s": 41.502,
"l": 50.392
},
"oklch": {
"l": 0.48504,
"c": 0.16043,
"h": 282.9
},
"luminance": 0.10484
}Semantic roles & 50–950 ramp
primary
#564CB5
secondary
#C1C697
accent
#D156C6
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A13
muted
#7E7C82