#564C8A#564C8A

#564C8A is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.6% C 0.099 H 289.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#564C8A
RGBrgb(86, 76, 138)
HSLhsl(250, 29%, 42%)
HSVhsv(250, 45%, 54%)
CMYKcmyk(37.7%, 44.9%, 0%, 45.9%)
CIE-LABlab(35.95, 19.80, -33.22)
CIE-LCHlch(35.95, 38.67, 300.80°)
OKLaboklab(45.57% 0.0327 -0.0935)
OKLCHoklch(45.57% 0.099 289.3)
XYZxyz(11.0084, 8.9820, 25.1935)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564C8A #808A4C
analogous
#4C618A #564C8A #754C8A
triadic
#564C8A #8A564C #4C8A56
tetradic
#564C8A #8A4C61 #808A4C #4C8A75
square
#564C8A #8A4C61 #808A4C #4C8A75
split-complementary
#564C8A #8A754C #618A4C
monochromatic
#25213B #3D3663 #564C8A #7368AC #978FC1

Accessibility & contrast

On white

7.51
#564C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#564C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564C8A
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564C8A#FFFFFF#000000##FFFFFF
##564C8A1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#375389
Tritanopia (blue-blind)
#495864
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #564c8a;
/* rgb */ color: rgb(86, 76, 138);
/* oklch */ color: oklch(45.6% 0.099 289.3);
Tailwind
colors: {
  custom: {
    50: '#887eac',
    500: '#564c8a',
    950: '#000000',
  },
}
SCSS
$custom: #564c8a;
$custom-light: #887eac;
$custom-dark: #000000;
JSON
{
  "hex": "#564c8a",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 249.677,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4557,
    "c": 0.09908,
    "h": 289.3
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#564C8A
secondary
#A7AE84
accent
#C563B5
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #564C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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