#564AA4#564AA4

#564AA4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.140 H 285.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#564AA4
RGBrgb(86, 74, 164)
HSLhsl(248, 38%, 47%)
HSVhsv(248, 55%, 64%)
CMYKcmyk(47.6%, 54.9%, 0%, 35.7%)
CIE-LABlab(37.03, 28.93, -47.21)
CIE-LCHlch(37.03, 55.37, 301.50°)
OKLaboklab(46.9% 0.038 -0.1346)
OKLCHoklch(46.9% 0.14 285.8)
XYZxyz(12.9854, 9.5558, 36.2750)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564AA4 #98A44A
analogous
#4A6BA4 #564AA4 #834AA4
triadic
#564AA4 #A4564A #4AA456
tetradic
#564AA4 #A44A6B #98A44A #4AA483
square
#564AA4 #A44A6B #98A44A #4AA483
split-complementary
#564AA4 #A4834A #6BA44A
monochromatic
#2A2450 #40377A #564AA4 #786EBD #9F98D0

Accessibility & contrast

On white

7.21
#564AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#564AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564AA4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564AA4#FFFFFF#000000##FFFFFF
##564AA41.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA7
Deuteranopia (green-blind)
#1754A2
Tritanopia (blue-blind)
#3C5E70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #564aa4;
/* rgb */ color: rgb(86, 74, 164);
/* oklch */ color: oklch(46.9% 0.140 285.8);
Tailwind
colors: {
  custom: {
    50: '#8b7dbf',
    500: '#564aa4',
    950: '#000000',
  },
}
SCSS
$custom: #564aa4;
$custom-light: #8b7dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#564aa4",
  "rgb": {
    "r": 86,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 248,
    "s": 37.815,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46898,
    "c": 0.13982,
    "h": 285.8
  },
  "luminance": 0.09556
}

Semantic roles & 50–950 ramp

primary
#564AA4
secondary
#B6BD8D
accent
#CE5ABE
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #564AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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