#564BCB#564BCB

#564BCB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.1% C 0.191 H 280.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#564BCB
RGBrgb(86, 75, 203)
HSLhsl(245, 55%, 55%)
HSVhsv(245, 63%, 80%)
CMYKcmyk(57.6%, 63.1%, 0%, 20.4%)
CIE-LABlab(40.12, 40.55, -65.16)
CIE-LCHlch(40.12, 76.75, 301.89°)
OKLaboklab(50.07% 0.0359 -0.1873)
OKLCHoklch(50.07% 0.191 280.9)
XYZxyz(17.1299, 11.3212, 57.7709)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BCB #C0CB4B
analogous
#4B80CB #564BCB #964BCB
triadic
#564BCB #CB564B #4BCB56
tetradic
#564BCB #CB4B80 #C0CB4B #4BCB96
square
#564BCB #CB4B80 #C0CB4B #4BCB96
split-complementary
#564BCB #CB964B #80CB4B
monochromatic
#2A2379 #3B31A8 #564BCB #837AD9 #AFAAE6

Accessibility & contrast

On white

6.43
#564BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#564BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564BCB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564BCB#FFFFFF#000000##FFFFFF
##564BCB1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#0F6B84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #564bcb;
/* rgb */ color: rgb(86, 75, 203);
/* oklch */ color: oklch(50.1% 0.191 280.9);
Tailwind
colors: {
  custom: {
    50: '#917edc',
    500: '#564bcb',
    950: '#000000',
  },
}
SCSS
$custom: #564bcb;
$custom-light: #917edc;
$custom-dark: #000000;
JSON
{
  "hex": "#564bcb",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 245.156,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50067,
    "c": 0.19076,
    "h": 280.9
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#564BCB
secondary
#CFD49E
accent
#DF49D2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #564BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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