#564EA4#564EA4

#564EA4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.134 H 284.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#564EA4
RGBrgb(86, 78, 164)
HSLhsl(246, 36%, 47%)
HSVhsv(246, 52%, 64%)
CMYKcmyk(47.6%, 52.4%, 0%, 35.7%)
CIE-LABlab(38.03, 26.42, -45.60)
CIE-LCHlch(38.03, 52.71, 300.09°)
OKLaboklab(47.64% 0.0331 -0.1298)
OKLCHoklch(47.64% 0.134 284.3)
XYZxyz(13.2610, 10.1069, 36.3669)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564EA4 #9CA44E
analogous
#4E71A4 #564EA4 #814EA4
triadic
#564EA4 #A4564E #4EA456
tetradic
#564EA4 #A44E71 #9CA44E #4EA481
square
#564EA4 #A44E71 #9CA44E #4EA481
split-complementary
#564EA4 #A4814E #71A44E
monochromatic
#2B2751 #403A7B #564EA4 #7A73BC #A19CD0

Accessibility & contrast

On white

6.95
#564EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#564EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564EA4
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564EA4#FFFFFF#000000##FFFFFF
##564EA41.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA7
Deuteranopia (green-blind)
#2157A2
Tritanopia (blue-blind)
#3C6171
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #564ea4;
/* rgb */ color: rgb(86, 78, 164);
/* oklch */ color: oklch(47.6% 0.134 284.3);
Tailwind
colors: {
  custom: {
    50: '#8b7fbf',
    500: '#564ea4',
    950: '#000000',
  },
}
SCSS
$custom: #564ea4;
$custom-light: #8b7fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#564ea4",
  "rgb": {
    "r": 86,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 245.581,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47644,
    "c": 0.13397,
    "h": 284.3
  },
  "luminance": 0.10108
}

Semantic roles & 50–950 ramp

primary
#564EA4
secondary
#B9BD91
accent
#CC5CC1
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #564EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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