#564BD7#564BD7

#564BD7 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.1% C 0.206 H 279.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#564BD7
RGBrgb(86, 75, 215)
HSLhsl(245, 64%, 57%)
HSVhsv(245, 65%, 84%)
CMYKcmyk(60%, 65.1%, 0%, 15.7%)
CIE-LABlab(41.08, 44.33, -70.50)
CIE-LCHlch(41.08, 83.28, 302.16°)
OKLaboklab(51.07% 0.0348 -0.203)
OKLCHoklch(51.07% 0.206 279.7)
XYZxyz(18.6157, 11.9155, 65.5958)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BD7 #CCD74B
analogous
#4B86D7 #564BD7 #9C4BD7
triadic
#564BD7 #D7564B #4BD756
tetradic
#564BD7 #D74B86 #CCD74B #4BD79C
square
#564BD7 #D74B86 #CCD74B #4BD79C
split-complementary
#564BD7 #D79C4B #86D74B
monochromatic
#271E89 #352ABB #564BD7 #857DE2 #B4AFED

Accessibility & contrast

On white

6.21
#564BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#564BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564BD7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564BD7#FFFFFF#000000##FFFFFF
##564BD71.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#005BD4
Tritanopia (blue-blind)
#006F8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #564bd7;
/* rgb */ color: rgb(86, 75, 215);
/* oklch */ color: oklch(51.1% 0.206 279.7);
Tailwind
colors: {
  custom: {
    50: '#937ee4',
    500: '#564bd7',
    950: '#000000',
  },
}
SCSS
$custom: #564bd7;
$custom-light: #937ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#564bd7",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 244.714,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51069,
    "c": 0.20598,
    "h": 279.7
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

primary
#564BD7
secondary
#D7DBA2
accent
#E741DA
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #564BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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