#564EA2#564EA2
#564EA2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.131 H 284.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #564EA2 |
|---|---|
| RGB | rgb(86, 78, 162) |
| HSL | hsl(246, 35%, 47%) |
| HSV | hsv(246, 52%, 64%) |
| CMYK | cmyk(46.9%, 51.9%, 0%, 36.5%) |
| CIE-LAB | lab(37.91, 25.80, -44.61) |
| CIE-LCH | lch(37.91, 51.54, 300.04°) |
| OKLab | oklab(47.51% 0.033 -0.1269) |
| OKLCH | oklch(47.51% 0.131 284.6) |
| XYZ | xyz(13.0818, 10.0353, 35.4231) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.54
Twilight
#4E518B
ΔE00 4.96
Ocean Blue
#4F42B5
ΔE00 5.06
Darkslateblue
#483D8B
ΔE00 5.96
Iris
#6258C4
ΔE00 6.11
Bluey Purple
#6241C7
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#564EA2 #9AA24E
analogous
#4E70A2 #564EA2 #804EA2
triadic
#564EA2 #A2564E #4EA256
tetradic
#564EA2 #A24E70 #9AA24E #4EA280
square
#564EA2 #A24E70 #9AA24E #4EA280
split-complementary
#564EA2 #A2804E #70A24E
monochromatic
#2A264F #403A79 #564EA2 #7972BB #A09BCF
Accessibility & contrast
On white
6.98
#564EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#564EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #564EA2
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##564EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##564EA2 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275CA5
Deuteranopia (green-blind)
#2457A0
Tritanopia (blue-blind)
#3D6070
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #564ea2; /* rgb */ color: rgb(86, 78, 162); /* oklch */ color: oklch(47.5% 0.131 284.6);
Tailwind
colors: {
custom: {
50: '#8b7fbe',
500: '#564ea2',
950: '#000000',
},
}SCSS
$custom: #564ea2; $custom-light: #8b7fbe; $custom-dark: #000000;
JSON
{
"hex": "#564ea2",
"rgb": {
"r": 86,
"g": 78,
"b": 162
},
"hsl": {
"h": 245.714,
"s": 35,
"l": 47.059
},
"oklch": {
"l": 0.47507,
"c": 0.13112,
"h": 284.6
},
"luminance": 0.10036
}Semantic roles & 50–950 ramp
primary
#564EA2
secondary
#B8BC90
accent
#CB5DC1
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81