#564CB2#564CB2
#564CB2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.156 H 283.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #564CB2 |
|---|---|
| RGB | rgb(86, 76, 178) |
| HSL | hsl(246, 40%, 50%) |
| HSV | hsv(246, 57%, 70%) |
| CMYK | cmyk(51.7%, 57.3%, 0%, 30.2%) |
| CIE-LAB | lab(38.48, 32.05, -53.20) |
| CIE-LCH | lch(38.48, 62.11, 301.07°) |
| OKLab | oklab(48.28% 0.0359 -0.1522) |
| OKLCH | oklch(48.28% 0.156 283.3) |
| XYZ | xyz(14.4556, 10.3609, 43.3490) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.04
Iris
#6258C4
ΔE00 4.63
Bluey Purple
#6241C7
ΔE00 4.91
Blue With A Hint Of Purple
#533CC6
ΔE00 5.24
Blueberry
#464196
ΔE00 5.49
Blurple
#5539CC
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#564CB2 #A8B24C
analogous
#4C75B2 #564CB2 #894CB2
triadic
#564CB2 #B2564C #4CB256
tetradic
#564CB2 #B24C75 #A8B24C #4CB289
square
#564CB2 #B24C75 #A8B24C #4CB289
split-complementary
#564CB2 #B2894C #75B24C
monochromatic
#2D275C #413A87 #564CB2 #7E76C5 #A7A1D7
Accessibility & contrast
On white
6.84
#564CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#564CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #564CB2
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##564CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##564CB2 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#326377
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #564cb2; /* rgb */ color: rgb(86, 76, 178); /* oklch */ color: oklch(48.3% 0.156 283.3);
Tailwind
colors: {
custom: {
50: '#8d7eca',
500: '#564cb2',
950: '#000000',
},
}SCSS
$custom: #564cb2; $custom-light: #8d7eca; $custom-dark: #000000;
JSON
{
"hex": "#564cb2",
"rgb": {
"r": 86,
"g": 76,
"b": 178
},
"hsl": {
"h": 245.882,
"s": 40.157,
"l": 49.804
},
"oklch": {
"l": 0.4828,
"c": 0.15634,
"h": 283.3
},
"luminance": 0.10362
}Semantic roles & 50–950 ramp
primary
#564CB2
secondary
#BFC496
accent
#D058C4
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82