#564EA5#564EA5

#564EA5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.135 H 284.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#564EA5
RGBrgb(86, 78, 165)
HSLhsl(246, 36%, 48%)
HSVhsv(246, 53%, 65%)
CMYKcmyk(47.9%, 52.7%, 0%, 35.3%)
CIE-LABlab(38.10, 26.74, -46.10)
CIE-LCHlch(38.10, 53.29, 300.11°)
OKLaboklab(47.71% 0.0332 -0.1313)
OKLCHoklch(47.71% 0.135 284.2)
XYZxyz(13.3517, 10.1432, 36.8443)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564EA5 #9DA54E
analogous
#4E72A5 #564EA5 #814EA5
triadic
#564EA5 #A5564E #4EA556
tetradic
#564EA5 #A54E72 #9DA54E #4EA581
square
#564EA5 #A54E72 #9DA54E #4EA581
split-complementary
#564EA5 #A5814E #72A54E
monochromatic
#2B2752 #403A7B #564EA5 #7A73BD #A29DD1

Accessibility & contrast

On white

6.93
#564EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #564EA5
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564EA5#FFFFFF#000000##FFFFFF
##564EA51.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245CA8
Deuteranopia (green-blind)
#1F57A3
Tritanopia (blue-blind)
#3B6172
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #564ea5;
/* rgb */ color: rgb(86, 78, 165);
/* oklch */ color: oklch(47.7% 0.135 284.2);
Tailwind
colors: {
  custom: {
    50: '#8b7fc0',
    500: '#564ea5',
    950: '#000000',
  },
}
SCSS
$custom: #564ea5;
$custom-light: #8b7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#564ea5",
  "rgb": {
    "r": 86,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 245.517,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47713,
    "c": 0.1354,
    "h": 284.2
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #564EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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