#564CAC#564CAC

#564CAC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.148 H 284.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#564CAC
RGBrgb(86, 76, 172)
HSLhsl(246, 39%, 49%)
HSVhsv(246, 56%, 67%)
CMYKcmyk(50%, 55.8%, 0%, 32.5%)
CIE-LABlab(38.07, 30.17, -50.31)
CIE-LCHlch(38.07, 58.67, 300.95°)
OKLaboklab(47.84% 0.0359 -0.1437)
OKLCHoklch(47.84% 0.148 284)
XYZxyz(13.8664, 10.1252, 40.2454)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CAC #A2AC4C
analogous
#4C72AC #564CAC #864CAC
triadic
#564CAC #AC564C #4CAC56
tetradic
#564CAC #AC4C72 #A2AC4C #4CAC86
square
#564CAC #AC4C72 #A2AC4C #4CAC86
split-complementary
#564CAC #AC864C #72AC4C
monochromatic
#2C2657 #413982 #564CAC #7C74C1 #A49ED4

Accessibility & contrast

On white

6.94
#564CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#564CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564CAC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CAC#FFFFFF#000000##FFFFFF
##564CAC1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115DAF
Deuteranopia (green-blind)
#0857AA
Tritanopia (blue-blind)
#366274
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #564cac;
/* rgb */ color: rgb(86, 76, 172);
/* oklch */ color: oklch(47.8% 0.148 284.0);
Tailwind
colors: {
  custom: {
    50: '#8c7ec5',
    500: '#564cac',
    950: '#000000',
  },
}
SCSS
$custom: #564cac;
$custom-light: #8c7ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#564cac",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 246.25,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47838,
    "c": 0.1481,
    "h": 284
  },
  "luminance": 0.10126
}

Semantic roles & 50–950 ramp

primary
#564CAC
secondary
#BCC193
accent
#CF59C2
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #564CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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