#564ABA#564ABA

#564ABA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.5% C 0.170 H 282.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#564ABA
RGBrgb(86, 74, 186)
HSLhsl(246, 45%, 51%)
HSVhsv(246, 60%, 73%)
CMYKcmyk(53.8%, 60.2%, 0%, 27.1%)
CIE-LABlab(38.59, 35.79, -57.74)
CIE-LCHlch(38.59, 67.93, 301.80°)
OKLaboklab(48.54% 0.0379 -0.1655)
OKLCHoklch(48.54% 0.17 282.9)
XYZxyz(15.1467, 10.4203, 47.6580)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564ABA #AEBA4A
analogous
#4A76BA #564ABA #8E4ABA
triadic
#564ABA #BA564A #4ABA56
tetradic
#564ABA #BA4A76 #AEBA4A #4ABA8E
square
#564ABA #BA4A76 #AEBA4A #4ABA8E
split-complementary
#564ABA #BA8E4A #76BA4A
monochromatic
#2D2664 #403790 #564ABA #7F76CB #A9A3DC

Accessibility & contrast

On white

6.81
#564ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#564ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564ABA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564ABA#FFFFFF#000000##FFFFFF
##564ABA1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#2B657B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #564aba;
/* rgb */ color: rgb(86, 74, 186);
/* oklch */ color: oklch(48.5% 0.170 282.9);
Tailwind
colors: {
  custom: {
    50: '#8e7dd0',
    500: '#564aba',
    950: '#000000',
  },
}
SCSS
$custom: #564aba;
$custom-light: #8e7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#564aba",
  "rgb": {
    "r": 86,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 246.429,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48539,
    "c": 0.16982,
    "h": 282.9
  },
  "luminance": 0.10421
}

Semantic roles & 50–950 ramp

primary
#564ABA
secondary
#C3C997
accent
#D553C7
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #564ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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