#564BCA#564BCA

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

Color values

HEX#564BCA
RGBrgb(86, 75, 202)
HSLhsl(245, 55%, 54%)
HSVhsv(245, 63%, 79%)
CMYKcmyk(57.4%, 62.9%, 0%, 20.8%)
CIE-LABlab(40.04, 40.23, -64.71)
CIE-LCHlch(40.04, 76.20, 301.87°)
OKLaboklab(49.99% 0.036 -0.186)
OKLCHoklch(49.99% 0.189 281)
XYZxyz(17.0112, 11.2737, 57.1453)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BCA #BFCA4B
analogous
#4B80CA #564BCA #964BCA
triadic
#564BCA #CA564B #4BCA56
tetradic
#564BCA #CA4B80 #BFCA4B #4BCA96
square
#564BCA #CA4B80 #BFCA4B #4BCA96
split-complementary
#564BCA #CA964B #80CA4B
monochromatic
#2A2377 #3B31A7 #564BCA #827AD8 #AFAAE6

Accessibility & contrast

On white

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

On black

3.26
#564BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##564BCA#FFFFFF#000000##FFFFFF
##564BCA1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#126A83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #564bca;
/* rgb */ color: rgb(86, 75, 202);
/* oklch */ color: oklch(50.0% 0.189 281.0);
Tailwind
colors: {
  custom: {
    50: '#917edb',
    500: '#564bca',
    950: '#000000',
  },
}
SCSS
$custom: #564bca;
$custom-light: #917edb;
$custom-dark: #000000;
JSON
{
  "hex": "#564bca",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 245.197,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49985,
    "c": 0.18947,
    "h": 281
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#564BCA
secondary
#CFD39D
accent
#DE4AD1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #564BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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