#564AE5#564AE5

#564AE5 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.1% C 0.224 H 278.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#564AE5
RGBrgb(86, 74, 229)
HSLhsl(245, 75%, 59%)
HSVhsv(245, 68%, 90%)
CMYKcmyk(62.4%, 67.7%, 0%, 10.2%)
CIE-LABlab(42.05, 49.28, -76.90)
CIE-LCHlch(42.05, 91.34, 302.65°)
OKLaboklab(52.13% 0.0338 -0.2218)
OKLCHoklch(52.13% 0.224 278.7)
XYZxyz(20.4249, 12.5315, 75.4560)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564AE5 #D9E54A
analogous
#4A8CE5 #564AE5 #A44AE5
triadic
#564AE5 #E5564A #4AE556
tetradic
#564AE5 #E54A8C #D9E54A #4AE5A4
square
#564AE5 #E54A8C #D9E54A #4AE5A4
split-complementary
#564AE5 #E5A44A #8CE54A
monochromatic
#21179E #2C1ED3 #564AE5 #8880ED #BAB5F4

Accessibility & contrast

On white

5.99
#564AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#564AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564AE5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564AE5#FFFFFF#000000##FFFFFF
##564AE51.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EA
Deuteranopia (green-blind)
#005DE2
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #564ae5;
/* rgb */ color: rgb(86, 74, 229);
/* oklch */ color: oklch(52.1% 0.224 278.7);
Tailwind
colors: {
  custom: {
    50: '#957eee',
    500: '#564ae5',
    950: '#000000',
  },
}
SCSS
$custom: #564ae5;
$custom-light: #957eee;
$custom-dark: #000000;
JSON
{
  "hex": "#564ae5",
  "rgb": {
    "r": 86,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 244.645,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.22436,
    "h": 278.7
  },
  "luminance": 0.12533
}

Semantic roles & 50–950 ramp

primary
#564AE5
secondary
#DFE4A7
accent
#F136E3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #564AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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