#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
RGBrgb(86, 79, 150)
HSLhsl(246, 31%, 45%)
HSVhsv(246, 47%, 59%)
CMYKcmyk(42.7%, 47.3%, 0%, 41.2%)
CIE-LABlab(37.43, 21.48, -38.16)
CIE-LCHlch(37.43, 43.79, 299.38°)
OKLaboklab(46.91% 0.0304 -0.108)
OKLCHoklch(46.91% 0.112 285.7)
XYZxyz(12.1372, 9.7719, 30.0949)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##564F961.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.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

Preview Lab

Preview with #564F96

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

Preview Lab → · Contrast checker → · Palette generator →

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