#564CC7#564CC7

#564CC7 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.9% C 0.184 H 281.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#564CC7
RGBrgb(86, 76, 199)
HSLhsl(245, 52%, 54%)
HSVhsv(245, 62%, 78%)
CMYKcmyk(56.8%, 61.8%, 0%, 22%)
CIE-LABlab(40.03, 38.69, -62.98)
CIE-LCHlch(40.03, 73.91, 301.56°)
OKLaboklab(49.91% 0.0353 -0.1809)
OKLCHoklch(49.91% 0.184 281)
XYZxyz(16.7278, 11.2697, 55.3156)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CC7 #BDC74C
analogous
#4C80C7 #564CC7 #944CC7
triadic
#564CC7 #C7564C #4CC756
tetradic
#564CC7 #C74C80 #BDC74C #4CC794
square
#564CC7 #C74C80 #BDC74C #4CC794
split-complementary
#564CC7 #C7944C #80C74C
monochromatic
#2B2474 #3C33A3 #564CC7 #827BD6 #AEA9E4

Accessibility & contrast

On white

6.45
#564CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#564CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564CC7
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CC7#FFFFFF#000000##FFFFFF
##564CC71.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#186A82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #564cc7;
/* rgb */ color: rgb(86, 76, 199);
/* oklch */ color: oklch(49.9% 0.184 281.0);
Tailwind
colors: {
  custom: {
    50: '#907fd9',
    500: '#564cc7',
    950: '#000000',
  },
}
SCSS
$custom: #564cc7;
$custom-light: #907fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#564cc7",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 244.878,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49908,
    "c": 0.18435,
    "h": 281
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#564CC7
secondary
#CDD29D
accent
#DC4CD0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #564CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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