#564BB1#564BB1
#564BB1 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.156 H 283.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #564BB1 |
|---|---|
| RGB | rgb(86, 75, 177) |
| HSL | hsl(246, 40%, 49%) |
| HSV | hsv(246, 58%, 69%) |
| CMYK | cmyk(51.4%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(38.17, 32.36, -53.11) |
| CIE-LCH | lch(38.17, 62.19, 301.35°) |
| OKLab | oklab(48.03% 0.037 -0.1519) |
| OKLCH | oklch(48.03% 0.156 283.7) |
| XYZ | xyz(14.2872, 10.1842, 42.7994) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.81
Bluey Purple
#6241C7
ΔE00 4.81
Iris
#6258C4
ΔE00 4.92
Blue With A Hint Of Purple
#533CC6
ΔE00 5.09
Blueberry
#464196
ΔE00 5.26
Blurple
#5539CC
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#564BB1 #A6B14B
analogous
#4B73B1 #564BB1 #894BB1
triadic
#564BB1 #B1564B #4BB156
tetradic
#564BB1 #B14B73 #A6B14B #4BB189
square
#564BB1 #B14B73 #A6B14B #4BB189
split-complementary
#564BB1 #B1894B #73B14B
monochromatic
#2C275B #413986 #564BB1 #7D75C4 #A6A0D7
Accessibility & contrast
On white
6.91
#564BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#564BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #564BB1
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##564BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##564BB1 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#336276
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #564bb1; /* rgb */ color: rgb(86, 75, 177); /* oklch */ color: oklch(48.0% 0.156 283.7);
Tailwind
colors: {
custom: {
50: '#8d7dc9',
500: '#564bb1',
950: '#000000',
},
}SCSS
$custom: #564bb1; $custom-light: #8d7dc9; $custom-dark: #000000;
JSON
{
"hex": "#564bb1",
"rgb": {
"r": 86,
"g": 75,
"b": 177
},
"hsl": {
"h": 246.471,
"s": 40.476,
"l": 49.412
},
"oklch": {
"l": 0.48027,
"c": 0.15636,
"h": 283.7
},
"luminance": 0.10185
}Semantic roles & 50–950 ramp
primary
#564BB1
secondary
#BEC394
accent
#D057C3
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82