#564CD9#564CD9

#564CD9 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.4% C 0.207 H 279.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#564CD9
RGBrgb(86, 76, 217)
HSLhsl(244, 65%, 57%)
HSVhsv(244, 65%, 85%)
CMYKcmyk(60.4%, 65%, 0%, 14.9%)
CIE-LABlab(41.46, 44.38, -71.02)
CIE-LCHlch(41.46, 83.75, 302.00°)
OKLaboklab(51.4% 0.0338 -0.2045)
OKLCHoklch(51.4% 0.207 279.4)
XYZxyz(18.9426, 12.1557, 66.9803)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CD9 #CFD94C
analogous
#4C89D9 #564CD9 #9C4CD9
triadic
#564CD9 #D9564C #4CD956
tetradic
#564CD9 #D94C89 #CFD94C #4CD99C
square
#564CD9 #D94C89 #CFD94C #4CD99C
split-complementary
#564CD9 #D99C4C #89D94C
monochromatic
#261E8D #3329BF #564CD9 #867EE4 #B5B1EE

Accessibility & contrast

On white

6.12
#564CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#564CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564CD9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CD9#FFFFFF#000000##FFFFFF
##564CD91.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#005CD6
Tritanopia (blue-blind)
#00708C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #564cd9;
/* rgb */ color: rgb(86, 76, 217);
/* oklch */ color: oklch(51.4% 0.207 279.4);
Tailwind
colors: {
  custom: {
    50: '#937fe6',
    500: '#564cd9',
    950: '#000000',
  },
}
SCSS
$custom: #564cd9;
$custom-light: #937fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#564cd9",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 244.255,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.20732,
    "h": 279.4
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#564CD9
secondary
#D9DDA4
accent
#E840DC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #564CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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