#564AAA#564AAA

#564AAA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.148 H 284.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#564AAA
RGBrgb(86, 74, 170)
HSLhsl(248, 39%, 48%)
HSVhsv(248, 56%, 67%)
CMYKcmyk(49.4%, 56.5%, 0%, 33.3%)
CIE-LABlab(37.44, 30.79, -50.14)
CIE-LCHlch(37.44, 58.83, 301.55°)
OKLaboklab(47.33% 0.0381 -0.1432)
OKLCHoklch(47.33% 0.148 284.9)
XYZxyz(13.5401, 9.7776, 39.1962)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564AAA #9EAA4A
analogous
#4A6EAA #564AAA #864AAA
triadic
#564AAA #AA564A #4AAA56
tetradic
#564AAA #AA4A6E #9EAA4A #4AAA86
square
#564AAA #AA4A6E #9EAA4A #4AAA86
split-complementary
#564AAA #AA864A #6EAA4A
monochromatic
#2B2555 #40377F #564AAA #7A70C1 #A29BD3

Accessibility & contrast

On white

7.11
#564AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#564AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564AAA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564AAA#FFFFFF#000000##FFFFFF
##564AAA1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5BAD
Deuteranopia (green-blind)
#0555A8
Tritanopia (blue-blind)
#386073
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #564aaa;
/* rgb */ color: rgb(86, 74, 170);
/* oklch */ color: oklch(47.3% 0.148 284.9);
Tailwind
colors: {
  custom: {
    50: '#8c7dc4',
    500: '#564aaa',
    950: '#000000',
  },
}
SCSS
$custom: #564aaa;
$custom-light: #8c7dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#564aaa",
  "rgb": {
    "r": 86,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 247.5,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4733,
    "c": 0.14816,
    "h": 284.9
  },
  "luminance": 0.09778
}

Semantic roles & 50–950 ramp

primary
#564AAA
secondary
#BAC090
accent
#CF59C0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #564AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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