#564CA5#564CA5

#564CA5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.138 H 284.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#564CA5
RGBrgb(86, 76, 165)
HSLhsl(247, 37%, 47%)
HSVhsv(247, 54%, 65%)
CMYKcmyk(47.9%, 53.9%, 0%, 35.3%)
CIE-LABlab(37.60, 27.99, -46.90)
CIE-LCHlch(37.60, 54.62, 300.83°)
OKLaboklab(47.34% 0.0356 -0.1337)
OKLCHoklch(47.34% 0.138 284.9)
XYZxyz(13.2117, 9.8633, 36.7977)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CA5 #9BA54C
analogous
#4C6EA5 #564CA5 #834CA5
triadic
#564CA5 #A5564C #4CA556
tetradic
#564CA5 #A54C6E #9BA54C #4CA583
square
#564CA5 #A54C6E #9BA54C #4CA583
split-complementary
#564CA5 #A5834C #6EA54C
monochromatic
#2A2551 #40397B #564CA5 #7971BD #A19BD1

Accessibility & contrast

On white

7.06
#564CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#564CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564CA5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CA5#FFFFFF#000000##FFFFFF
##564CA51.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5BA8
Deuteranopia (green-blind)
#1A56A3
Tritanopia (blue-blind)
#3B5F71
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #564ca5;
/* rgb */ color: rgb(86, 76, 165);
/* oklch */ color: oklch(47.3% 0.138 284.9);
Tailwind
colors: {
  custom: {
    50: '#8b7ec0',
    500: '#564ca5',
    950: '#000000',
  },
}
SCSS
$custom: #564ca5;
$custom-light: #8b7ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#564ca5",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 246.742,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47338,
    "c": 0.13832,
    "h": 284.9
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#564CA5
secondary
#B8BD8F
accent
#CD5BC0
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #564CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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