#564FC5#564FC5

#564FC5 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.178 H 280.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#564FC5
RGBrgb(86, 79, 197)
HSLhsl(244, 50%, 54%)
HSVhsv(244, 60%, 77%)
CMYKcmyk(56.3%, 59.9%, 0%, 22.7%)
CIE-LABlab(40.57, 36.24, -60.94)
CIE-LCHlch(40.57, 70.90, 300.74°)
OKLaboklab(50.26% 0.0325 -0.1749)
OKLCHoklch(50.26% 0.178 280.5)
XYZxyz(16.7086, 11.6005, 54.1712)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564FC5 #BEC54F
analogous
#4F83C5 #564FC5 #914FC5
triadic
#564FC5 #C5564F #4FC556
tetradic
#564FC5 #C54F83 #BEC54F #4FC591
square
#564FC5 #C54F83 #BEC54F #4FC591
split-complementary
#564FC5 #C5914F #83C54F
monochromatic
#2B2674 #3C35A2 #564FC5 #827DD4 #AEABE3

Accessibility & contrast

On white

6.32
#564FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#564FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564FC5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564FC5#FFFFFF#000000##FFFFFF
##564FC51.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#1B6B82
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #564fc5;
/* rgb */ color: rgb(86, 79, 197);
/* oklch */ color: oklch(50.3% 0.178 280.5);
Tailwind
colors: {
  custom: {
    50: '#8f81d7',
    500: '#564fc5',
    950: '#000000',
  },
}
SCSS
$custom: #564fc5;
$custom-light: #8f81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#564fc5",
  "rgb": {
    "r": 86,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 243.559,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50259,
    "c": 0.1779,
    "h": 280.5
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#564FC5
secondary
#CED19F
accent
#DA4ED2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #564FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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