#564BC2#564BC2

#564BC2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.3% C 0.179 H 281.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#564BC2
RGBrgb(86, 75, 194)
HSLhsl(246, 49%, 53%)
HSVhsv(246, 61%, 76%)
CMYKcmyk(55.7%, 61.3%, 0%, 23.9%)
CIE-LABlab(39.42, 37.71, -61.07)
CIE-LCHlch(39.42, 71.77, 301.70°)
OKLaboklab(49.34% 0.0365 -0.1753)
OKLCHoklch(49.34% 0.179 281.8)
XYZxyz(16.0884, 10.9046, 52.2855)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BC2 #B7C24B
analogous
#4B7CC2 #564BC2 #914BC2
triadic
#564BC2 #C2564B #4BC256
tetradic
#564BC2 #C24B7C #B7C24B #4BC291
square
#564BC2 #C24B7C #B7C24B #4BC291
split-complementary
#564BC2 #C2914B #7CC24B
monochromatic
#2C256D #3E359B #564BC2 #8179D1 #ACA6E1

Accessibility & contrast

On white

6.60
#564BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#564BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564BC2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564BC2#FFFFFF#000000##FFFFFF
##564BC21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#21687F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #564bc2;
/* rgb */ color: rgb(86, 75, 194);
/* oklch */ color: oklch(49.3% 0.179 281.8);
Tailwind
colors: {
  custom: {
    50: '#8f7ed5',
    500: '#564bc2',
    950: '#000000',
  },
}
SCSS
$custom: #564bc2;
$custom-light: #8f7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#564bc2",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 245.546,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.4934,
    "c": 0.17908,
    "h": 281.8
  },
  "luminance": 0.10906
}

Semantic roles & 50–950 ramp

primary
#564BC2
secondary
#C9CE9B
accent
#D94FCC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #564BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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