#564CCC#564CCC

#564CCC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.3% C 0.191 H 280.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#564CCC
RGBrgb(86, 76, 204)
HSLhsl(245, 56%, 55%)
HSVhsv(245, 63%, 80%)
CMYKcmyk(57.8%, 62.7%, 0%, 20%)
CIE-LABlab(40.42, 40.27, -65.24)
CIE-LCHlch(40.42, 76.67, 301.68°)
OKLaboklab(50.31% 0.0349 -0.1876)
OKLCHoklch(50.31% 0.191 280.6)
XYZxyz(17.3179, 11.5058, 58.4233)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CCC #C2CC4C
analogous
#4C82CC #564CCC #964CCC
triadic
#564CCC #CC564C #4CCC56
tetradic
#564CCC #CC4C82 #C2CC4C #4CCC96
square
#564CCC #CC4C82 #C2CC4C #4CCC96
split-complementary
#564CCC #CC964C #82CC4C
monochromatic
#2A237B #3A31AA #564CCC #837CDA #B0ABE7

Accessibility & contrast

On white

6.36
#564CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#564CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564CCC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CCC#FFFFFF#000000##FFFFFF
##564CCC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#0B6C85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #564ccc;
/* rgb */ color: rgb(86, 76, 204);
/* oklch */ color: oklch(50.3% 0.191 280.6);
Tailwind
colors: {
  custom: {
    50: '#917fdc',
    500: '#564ccc',
    950: '#000000',
  },
}
SCSS
$custom: #564ccc;
$custom-light: #917fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#564ccc",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 244.688,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50313,
    "c": 0.19082,
    "h": 280.6
  },
  "luminance": 0.11507
}

Semantic roles & 50–950 ramp

primary
#564CCC
secondary
#D1D59F
accent
#DF49D3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #564CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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