#564BD2#564BD2

#564BD2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.6% C 0.200 H 280.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#564BD2
RGBrgb(86, 75, 210)
HSLhsl(245, 60%, 56%)
HSVhsv(245, 64%, 82%)
CMYKcmyk(59%, 64.3%, 0%, 17.6%)
CIE-LABlab(40.67, 42.75, -68.29)
CIE-LCHlch(40.67, 80.57, 302.05°)
OKLaboklab(50.65% 0.0353 -0.1965)
OKLCHoklch(50.65% 0.2 280.2)
XYZxyz(17.9830, 11.6625, 62.2637)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BD2 #C7D24B
analogous
#4B83D2 #564BD2 #994BD2
triadic
#564BD2 #D2564B #4BD256
tetradic
#564BD2 #D24B83 #C7D24B #4BD299
square
#564BD2 #D24B83 #C7D24B #4BD299
split-complementary
#564BD2 #D2994B #83D24B
monochromatic
#282182 #382DB3 #564BD2 #847CDE #B2ADEA

Accessibility & contrast

On white

6.30
#564BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#564BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564BD2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564BD2#FFFFFF#000000##FFFFFF
##564BD21.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #564bd2;
/* rgb */ color: rgb(86, 75, 210);
/* oklch */ color: oklch(50.6% 0.200 280.2);
Tailwind
colors: {
  custom: {
    50: '#927ee1',
    500: '#564bd2',
    950: '#000000',
  },
}
SCSS
$custom: #564bd2;
$custom-light: #927ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#564bd2",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 244.889,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50648,
    "c": 0.19969,
    "h": 280.2
  },
  "luminance": 0.11664
}

Semantic roles & 50–950 ramp

primary
#564BD2
secondary
#D4D8A0
accent
#E345D6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #564BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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