#564D8A#564D8A

#564D8A is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.8% C 0.097 H 288.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#564D8A
RGBrgb(86, 77, 138)
HSLhsl(249, 28%, 42%)
HSVhsv(249, 44%, 54%)
CMYKcmyk(37.7%, 44.2%, 0%, 45.9%)
CIE-LABlab(36.22, 19.17, -32.79)
CIE-LCHlch(36.22, 37.98, 300.30°)
OKLaboklab(45.77% 0.0313 -0.0923)
OKLCHoklch(45.77% 0.097 288.7)
XYZxyz(11.0778, 9.1209, 25.2167)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564D8A #818A4D
analogous
#4D638A #564D8A #744D8A
triadic
#564D8A #8A564D #4D8A56
tetradic
#564D8A #8A4D63 #818A4D #4D8A74
square
#564D8A #8A4D63 #818A4D #4D8A74
split-complementary
#564D8A #8A744D #638A4D
monochromatic
#25213B #3E3763 #564D8A #7369AB #9790C1

Accessibility & contrast

On white

7.44
#564D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#564D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564D8A
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564D8A#FFFFFF#000000##FFFFFF
##564D8A1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578C
Deuteranopia (green-blind)
#385489
Tritanopia (blue-blind)
#485965
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #564d8a;
/* rgb */ color: rgb(86, 77, 138);
/* oklch */ color: oklch(45.8% 0.097 288.7);
Tailwind
colors: {
  custom: {
    50: '#887fac',
    500: '#564d8a',
    950: '#000000',
  },
}
SCSS
$custom: #564d8a;
$custom-light: #887fac;
$custom-dark: #000000;
JSON
{
  "hex": "#564d8a",
  "rgb": {
    "r": 86,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 248.852,
    "s": 28.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45771,
    "c": 0.09745,
    "h": 288.7
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#564D8A
secondary
#A8AE85
accent
#C563B6
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #564D8A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#564D8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva