#564CBD#564CBD

#564CBD is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.1% C 0.171 H 282.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#564CBD
RGBrgb(86, 76, 189)
HSLhsl(245, 46%, 52%)
HSVhsv(245, 60%, 74%)
CMYKcmyk(54.5%, 59.8%, 0%, 25.9%)
CIE-LABlab(39.28, 35.52, -58.38)
CIE-LCHlch(39.28, 68.34, 301.32°)
OKLaboklab(49.12% 0.0358 -0.1674)
OKLCHoklch(49.12% 0.171 282.1)
XYZxyz(15.6047, 10.8205, 49.4005)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CBD #B3BD4C
analogous
#4C7BBD #564CBD #8F4CBD
triadic
#564CBD #BD564C #4CBD56
tetradic
#564CBD #BD4C7B #B3BD4C #4CBD8F
square
#564CBD #BD4C7B #B3BD4C #4CBD8F
split-complementary
#564CBD #BD8F4C #7BBD4C
monochromatic
#2C2668 #3F3795 #564CBD #8079CD #AAA5DE

Accessibility & contrast

On white

6.64
#564CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#564CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564CBD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CBD#FFFFFF#000000##FFFFFF
##564CBD1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#27677D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #564cbd;
/* rgb */ color: rgb(86, 76, 189);
/* oklch */ color: oklch(49.1% 0.171 282.1);
Tailwind
colors: {
  custom: {
    50: '#8e7ed2',
    500: '#564cbd',
    950: '#000000',
  },
}
SCSS
$custom: #564cbd;
$custom-light: #8e7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#564cbd",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 245.31,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49117,
    "c": 0.17118,
    "h": 282.1
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#564CBD
secondary
#C7CB9A
accent
#D652CA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #564CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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