#564EB4#564EB4

#564EB4 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.8% C 0.156 H 282.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#564EB4
RGBrgb(86, 78, 180)
HSLhsl(245, 40%, 51%)
HSVhsv(245, 57%, 71%)
CMYKcmyk(52.2%, 56.7%, 0%, 29.4%)
CIE-LABlab(39.11, 31.45, -53.36)
CIE-LCHlch(39.11, 61.94, 300.51°)
OKLaboklab(48.79% 0.0337 -0.1526)
OKLCHoklch(48.79% 0.156 282.5)
XYZxyz(14.7979, 10.7217, 44.4609)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564EB4 #ACB44E
analogous
#4E79B4 #564EB4 #894EB4
triadic
#564EB4 #B4564E #4EB456
tetradic
#564EB4 #B44E79 #ACB44E #4EB489
square
#564EB4 #B44E79 #ACB44E #4EB489
split-complementary
#564EB4 #B4894E #79B44E
monochromatic
#2D285F #413B8A #564EB4 #7F79C6 #A8A4D8

Accessibility & contrast

On white

6.68
#564EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#564EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564EB4
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564EB4#FFFFFF#000000##FFFFFF
##564EB41.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0360B7
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#306579
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #564eb4;
/* rgb */ color: rgb(86, 78, 180);
/* oklch */ color: oklch(48.8% 0.156 282.5);
Tailwind
colors: {
  custom: {
    50: '#8d80cb',
    500: '#564eb4',
    950: '#000000',
  },
}
SCSS
$custom: #564eb4;
$custom-light: #8d80cb;
$custom-dark: #000000;
JSON
{
  "hex": "#564eb4",
  "rgb": {
    "r": 86,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 244.706,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48787,
    "c": 0.15633,
    "h": 282.5
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#564EB4
secondary
#C2C698
accent
#D057C7
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #564EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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