#564F96#564F96
#564F96 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.9% C 0.112 H 285.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #564F96 |
|---|---|
| RGB | rgb(86, 79, 150) |
| HSL | hsl(246, 31%, 45%) |
| HSV | hsv(246, 47%, 59%) |
| CMYK | cmyk(42.7%, 47.3%, 0%, 41.2%) |
| CIE-LAB | lab(37.43, 21.48, -38.16) |
| CIE-LCH | lch(37.43, 43.79, 299.38°) |
| OKLab | oklab(46.91% 0.0304 -0.108) |
| OKLCH | oklch(46.91% 0.112 285.7) |
| XYZ | xyz(12.1372, 9.7719, 30.0949) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.08
Blueberry
#464196
ΔE00 5.01
Dusk
#4E5481
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 7.13
Royal Purple
#7851A9
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#564F96 #8F964F
analogous
#4F6C96 #564F96 #794F96
triadic
#564F96 #96564F #4F9656
tetradic
#564F96 #964F6C #8F964F #4F9679
square
#564F96 #964F6C #8F964F #4F9679
split-complementary
#564F96 #96794F #6C964F
monochromatic
#282546 #3F3A6E #564F96 #766FB3 #9C97C8
Accessibility & contrast
On white
7.11
#564F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#564F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #564F96
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##564F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##564F96 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345A99
Deuteranopia (green-blind)
#325694
Tritanopia (blue-blind)
#435D6B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #564f96; /* rgb */ color: rgb(86, 79, 150); /* oklch */ color: oklch(46.9% 0.112 285.7);
Tailwind
colors: {
custom: {
50: '#8980b5',
500: '#564f96',
950: '#000000',
},
}SCSS
$custom: #564f96; $custom-light: #8980b5; $custom-dark: #000000;
JSON
{
"hex": "#564f96",
"rgb": {
"r": 86,
"g": 79,
"b": 150
},
"hsl": {
"h": 245.915,
"s": 31.004,
"l": 44.902
},
"oklch": {
"l": 0.46912,
"c": 0.11216,
"h": 285.7
},
"luminance": 0.09772
}Semantic roles & 50–950 ramp
primary
#564F96
secondary
#B1B58C
accent
#C761BD
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80