#564BD9#564BD9

#564BD9 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.2% C 0.208 H 279.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#564BD9
RGBrgb(86, 75, 217)
HSLhsl(245, 65%, 57%)
HSVhsv(245, 65%, 85%)
CMYKcmyk(60.4%, 65.4%, 0%, 14.9%)
CIE-LABlab(41.25, 44.96, -71.38)
CIE-LCHlch(41.25, 84.35, 302.20°)
OKLaboklab(51.24% 0.0346 -0.2056)
OKLCHoklch(51.24% 0.208 279.5)
XYZxyz(18.8742, 12.0189, 66.9575)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BD9 #CED94B
analogous
#4B87D9 #564BD9 #9D4BD9
triadic
#564BD9 #D9564B #4BD956
tetradic
#564BD9 #D94B87 #CED94B #4BD99D
square
#564BD9 #D94B87 #CED94B #4BD99D
split-complementary
#564BD9 #D99D4B #87D94B
monochromatic
#261E8C #3428BF #564BD9 #857EE4 #B5B0EE

Accessibility & contrast

On white

6.17
#564BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#564BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564BD9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564BD9#FFFFFF#000000##FFFFFF
##564BD91.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #564bd9;
/* rgb */ color: rgb(86, 75, 217);
/* oklch */ color: oklch(51.2% 0.208 279.5);
Tailwind
colors: {
  custom: {
    50: '#937ee6',
    500: '#564bd9',
    950: '#000000',
  },
}
SCSS
$custom: #564bd9;
$custom-light: #937ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#564bd9",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 244.648,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5124,
    "c": 0.20848,
    "h": 279.5
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#564BD9
secondary
#D8DDA3
accent
#E840DB
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #564BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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