#564F8A#564F8A

#564F8A is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.2% C 0.094 H 287.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#564F8A
RGBrgb(86, 79, 138)
HSLhsl(247, 27%, 43%)
HSVhsv(247, 43%, 54%)
CMYKcmyk(37.7%, 42.8%, 0%, 45.9%)
CIE-LABlab(36.75, 17.89, -31.94)
CIE-LCHlch(36.75, 36.61, 299.25°)
OKLaboklab(46.18% 0.0284 -0.0898)
OKLCHoklch(46.18% 0.094 287.6)
XYZxyz(11.2199, 9.4050, 25.2640)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564F8A #838A4F
analogous
#4F658A #564F8A #744F8A
triadic
#564F8A #8A564F #4F8A56
tetradic
#564F8A #8A4F65 #838A4F #4F8A74
square
#564F8A #8A4F65 #838A4F #4F8A74
split-complementary
#564F8A #8A744F #658A4F
monochromatic
#25223C #3E3963 #564F8A #736CAB #9893C1

Accessibility & contrast

On white

7.29
#564F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#564F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564F8A
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564F8A#FFFFFF#000000##FFFFFF
##564F8A1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588C
Deuteranopia (green-blind)
#3B5589
Tritanopia (blue-blind)
#485A66
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #564f8a;
/* rgb */ color: rgb(86, 79, 138);
/* oklch */ color: oklch(46.2% 0.094 287.6);
Tailwind
colors: {
  custom: {
    50: '#8880ac',
    500: '#564f8a',
    950: '#000000',
  },
}
SCSS
$custom: #564f8a;
$custom-light: #8880ac;
$custom-dark: #000000;
JSON
{
  "hex": "#564f8a",
  "rgb": {
    "r": 86,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 247.119,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.09421,
    "h": 287.6
  },
  "luminance": 0.09405
}

Semantic roles & 50–950 ramp

primary
#564F8A
secondary
#A9AE87
accent
#C464B8
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #564F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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