#564EA7#564EA7

#564EA7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.138 H 283.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#564EA7
RGBrgb(86, 78, 167)
HSLhsl(245, 36%, 48%)
HSVhsv(245, 53%, 65%)
CMYKcmyk(48.5%, 53.3%, 0%, 34.5%)
CIE-LABlab(38.23, 27.36, -47.08)
CIE-LCHlch(38.23, 54.45, 300.16°)
OKLaboklab(47.85% 0.0333 -0.1342)
OKLCHoklch(47.85% 0.138 283.9)
XYZxyz(13.5351, 10.2166, 37.8105)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564EA7 #9FA74E
analogous
#4E72A7 #564EA7 #824EA7
triadic
#564EA7 #A7564E #4EA756
tetradic
#564EA7 #A74E72 #9FA74E #4EA782
square
#564EA7 #A74E72 #9FA74E #4EA782
split-complementary
#564EA7 #A7824E #72A74E
monochromatic
#2B2754 #413B7D #564EA7 #7B74BE #A29ED2

Accessibility & contrast

On white

6.90
#564EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#564EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564EA7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564EA7#FFFFFF#000000##FFFFFF
##564EA71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215DAA
Deuteranopia (green-blind)
#1C57A5
Tritanopia (blue-blind)
#3A6173
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #564ea7;
/* rgb */ color: rgb(86, 78, 167);
/* oklch */ color: oklch(47.9% 0.138 283.9);
Tailwind
colors: {
  custom: {
    50: '#8b7fc2',
    500: '#564ea7',
    950: '#000000',
  },
}
SCSS
$custom: #564ea7;
$custom-light: #8b7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#564ea7",
  "rgb": {
    "r": 86,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 245.393,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47852,
    "c": 0.13823,
    "h": 283.9
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#564EA7
secondary
#BABE92
accent
#CC5BC2
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #564EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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