#564CBD#564CBD
#564CBD is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.1% C 0.171 H 282.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #564CBD |
|---|---|
| RGB | rgb(86, 76, 189) |
| HSL | hsl(245, 46%, 52%) |
| HSV | hsv(245, 60%, 74%) |
| CMYK | cmyk(54.5%, 59.8%, 0%, 25.9%) |
| CIE-LAB | lab(39.28, 35.52, -58.38) |
| CIE-LCH | lch(39.28, 68.34, 301.32°) |
| OKLab | oklab(49.12% 0.0358 -0.1674) |
| OKLCH | oklch(49.12% 0.171 282.1) |
| XYZ | xyz(15.6047, 10.8205, 49.4005) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.10
Iris
#6258C4
ΔE00 3.99
Bluey Purple
#6241C7
ΔE00 4.01
Blue With A Hint Of Purple
#533CC6
ΔE00 4.44
Blurple
#5539CC
ΔE00 5.27
Slate Blue
#6A5ACD
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#564CBD #B3BD4C
analogous
#4C7BBD #564CBD #8F4CBD
triadic
#564CBD #BD564C #4CBD56
tetradic
#564CBD #BD4C7B #B3BD4C #4CBD8F
square
#564CBD #BD4C7B #B3BD4C #4CBD8F
split-complementary
#564CBD #BD8F4C #7BBD4C
monochromatic
#2C2668 #3F3795 #564CBD #8079CD #AAA5DE
Accessibility & contrast
On white
6.64
#564CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#564CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #564CBD
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##564CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##564CBD | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#27677D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #564cbd; /* rgb */ color: rgb(86, 76, 189); /* oklch */ color: oklch(49.1% 0.171 282.1);
Tailwind
colors: {
custom: {
50: '#8e7ed2',
500: '#564cbd',
950: '#000000',
},
}SCSS
$custom: #564cbd; $custom-light: #8e7ed2; $custom-dark: #000000;
JSON
{
"hex": "#564cbd",
"rgb": {
"r": 86,
"g": 76,
"b": 189
},
"hsl": {
"h": 245.31,
"s": 46.122,
"l": 51.961
},
"oklch": {
"l": 0.49117,
"c": 0.17118,
"h": 282.1
},
"luminance": 0.10821
}Semantic roles & 50–950 ramp
primary
#564CBD
secondary
#C7CB9A
accent
#D652CA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83