#564ACC#564ACC

#564ACC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.0% C 0.193 H 281.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#564ACC
RGBrgb(86, 74, 204)
HSLhsl(246, 56%, 55%)
HSVhsv(246, 64%, 80%)
CMYKcmyk(57.8%, 63.7%, 0%, 20%)
CIE-LABlab(39.97, 41.45, -65.97)
CIE-LCHlch(39.97, 77.92, 302.14°)
OKLaboklab(49.99% 0.0367 -0.1897)
OKLCHoklch(49.99% 0.193 281)
XYZxyz(17.1822, 11.2345, 58.3781)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564ACC #C0CC4A
analogous
#4A7FCC #564ACC #974ACC
triadic
#564ACC #CC564A #4ACC56
tetradic
#564ACC #CC4A7F #C0CC4A #4ACC97
square
#564ACC #CC4A7F #C0CC4A #4ACC97
split-complementary
#564ACC #CC974A #7FCC4A
monochromatic
#2A2279 #3B30A9 #564ACC #837AD9 #AFA9E7

Accessibility & contrast

On white

6.47
#564ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#564ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564ACC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564ACC#FFFFFF#000000##FFFFFF
##564ACC1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#0C6A84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #564acc;
/* rgb */ color: rgb(86, 74, 204);
/* oklch */ color: oklch(50.0% 0.193 281.0);
Tailwind
colors: {
  custom: {
    50: '#917ddd',
    500: '#564acc',
    950: '#000000',
  },
}
SCSS
$custom: #564acc;
$custom-light: #917ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#564acc",
  "rgb": {
    "r": 86,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 245.538,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49987,
    "c": 0.19326,
    "h": 281
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#564ACC
secondary
#CFD49D
accent
#DF48D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #564ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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