#564CC2#564CC2

#564CC2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.5% C 0.178 H 281.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#564CC2
RGBrgb(86, 76, 194)
HSLhsl(245, 49%, 53%)
HSVhsv(245, 61%, 76%)
CMYKcmyk(55.7%, 60.8%, 0%, 23.9%)
CIE-LABlab(39.65, 37.11, -60.69)
CIE-LCHlch(39.65, 71.14, 301.44°)
OKLaboklab(49.51% 0.0356 -0.1742)
OKLCHoklch(49.51% 0.178 281.5)
XYZxyz(16.1568, 11.0413, 52.3083)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CC2 #B8C24C
analogous
#4C7DC2 #564CC2 #914CC2
triadic
#564CC2 #C2564C #4CC256
tetradic
#564CC2 #C24C7D #B8C24C #4CC291
square
#564CC2 #C24C7D #B8C24C #4CC291
split-complementary
#564CC2 #C2914C #7DC24C
monochromatic
#2C266E #3E359C #564CC2 #817AD2 #ACA7E1

Accessibility & contrast

On white

6.55
#564CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#564CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564CC2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CC2#FFFFFF#000000##FFFFFF
##564CC21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#216880
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #564cc2;
/* rgb */ color: rgb(86, 76, 194);
/* oklch */ color: oklch(49.5% 0.178 281.5);
Tailwind
colors: {
  custom: {
    50: '#8f7ed5',
    500: '#564cc2',
    950: '#000000',
  },
}
SCSS
$custom: #564cc2;
$custom-light: #8f7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#564cc2",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 245.085,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49509,
    "c": 0.1778,
    "h": 281.5
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#564CC2
secondary
#CACE9B
accent
#D94FCD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #564CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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