#564DC2#564DC2

#564DC2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.7% C 0.177 H 281.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#564DC2
RGBrgb(86, 77, 194)
HSLhsl(245, 49%, 53%)
HSVhsv(245, 60%, 76%)
CMYKcmyk(55.7%, 60.3%, 0%, 23.9%)
CIE-LABlab(39.88, 36.50, -60.31)
CIE-LCHlch(39.88, 70.50, 301.18°)
OKLaboklab(49.68% 0.0346 -0.1731)
OKLCHoklch(49.68% 0.177 281.3)
XYZxyz(16.2262, 11.1802, 52.3314)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564DC2 #B9C24D
analogous
#4D7FC2 #564DC2 #904DC2
triadic
#564DC2 #C2564D #4DC256
tetradic
#564DC2 #C24D7F #B9C24D #4DC290
square
#564DC2 #C24D7F #B9C24D #4DC290
split-complementary
#564DC2 #C2904D #7FC24D
monochromatic
#2C266F #3D369C #564DC2 #817BD2 #ADA8E1

Accessibility & contrast

On white

6.49
#564DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#564DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564DC2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564DC2#FFFFFF#000000##FFFFFF
##564DC21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#206980
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #564dc2;
/* rgb */ color: rgb(86, 77, 194);
/* oklch */ color: oklch(49.7% 0.177 281.3);
Tailwind
colors: {
  custom: {
    50: '#8f7fd5',
    500: '#564dc2',
    950: '#000000',
  },
}
SCSS
$custom: #564dc2;
$custom-light: #8f7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#564dc2",
  "rgb": {
    "r": 86,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 244.615,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49679,
    "c": 0.17651,
    "h": 281.3
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#564DC2
secondary
#CBCF9C
accent
#D94FCE
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #564DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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