#564DBE#564DBE

#564DBE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.4% C 0.171 H 281.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#564DBE
RGBrgb(86, 77, 190)
HSLhsl(245, 47%, 52%)
HSVhsv(245, 59%, 75%)
CMYKcmyk(54.7%, 59.5%, 0%, 25.5%)
CIE-LABlab(39.59, 35.23, -58.46)
CIE-LCHlch(39.59, 68.26, 301.08°)
OKLaboklab(49.37% 0.0347 -0.1676)
OKLCHoklch(49.37% 0.171 281.7)
XYZxyz(15.7830, 11.0029, 49.9973)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564DBE #B5BE4D
analogous
#4D7CBE #564DBE #8F4DBE
triadic
#564DBE #BE564D #4DBE56
tetradic
#564DBE #BE4D7C #B5BE4D #4DBE8F
square
#564DBE #BE4D7C #B5BE4D #4DBE8F
split-complementary
#564DBE #BE8F4D #7CBE4D
monochromatic
#2C276A #3F3797 #564DBE #817ACE #ABA7DF

Accessibility & contrast

On white

6.56
#564DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#564DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564DBE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564DBE#FFFFFF#000000##FFFFFF
##564DBE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#26687E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #564dbe;
/* rgb */ color: rgb(86, 77, 190);
/* oklch */ color: oklch(49.4% 0.171 281.7);
Tailwind
colors: {
  custom: {
    50: '#8f7fd2',
    500: '#564dbe',
    950: '#000000',
  },
}
SCSS
$custom: #564dbe;
$custom-light: #8f7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#564dbe",
  "rgb": {
    "r": 86,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 244.779,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.1712,
    "h": 281.7
  },
  "luminance": 0.11004
}

Semantic roles & 50–950 ramp

primary
#564DBE
secondary
#C8CC9B
accent
#D652CC
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #564DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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