#564CA2#564CA2

#564CA2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.134 H 285.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#564CA2
RGBrgb(86, 76, 162)
HSLhsl(247, 36%, 47%)
HSVhsv(247, 53%, 64%)
CMYKcmyk(46.9%, 53.1%, 0%, 36.5%)
CIE-LABlab(37.40, 27.06, -45.42)
CIE-LCHlch(37.40, 52.87, 300.78°)
OKLaboklab(47.13% 0.0354 -0.1293)
OKLCHoklch(47.13% 0.134 285.3)
XYZxyz(12.9419, 9.7554, 35.3765)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CA2 #98A24C
analogous
#4C6DA2 #564CA2 #814CA2
triadic
#564CA2 #A2564C #4CA256
tetradic
#564CA2 #A24C6D #98A24C #4CA281
square
#564CA2 #A24C6D #98A24C #4CA281
split-complementary
#564CA2 #A2814C #6DA24C
monochromatic
#2A254F #403878 #564CA2 #7870BC #9F99CF

Accessibility & contrast

On white

7.12
#564CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#564CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564CA2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CA2#FFFFFF#000000##FFFFFF
##564CA21.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#3D5F6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #564ca2;
/* rgb */ color: rgb(86, 76, 162);
/* oklch */ color: oklch(47.1% 0.134 285.3);
Tailwind
colors: {
  custom: {
    50: '#8b7ebe',
    500: '#564ca2',
    950: '#000000',
  },
}
SCSS
$custom: #564ca2;
$custom-light: #8b7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#564ca2",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 246.977,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47129,
    "c": 0.13408,
    "h": 285.3
  },
  "luminance": 0.09756
}

Semantic roles & 50–950 ramp

primary
#564CA2
secondary
#B6BC8E
accent
#CC5CBF
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #564CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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