#564CA8#564CA8

#564CA8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.143 H 284.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#564CA8
RGBrgb(86, 76, 168)
HSLhsl(247, 38%, 48%)
HSVhsv(247, 55%, 66%)
CMYKcmyk(48.8%, 54.8%, 0%, 34.1%)
CIE-LABlab(37.80, 28.92, -48.37)
CIE-LCHlch(37.80, 56.36, 300.88°)
OKLaboklab(47.55% 0.0357 -0.138)
OKLCHoklch(47.55% 0.143 284.5)
XYZxyz(13.4880, 9.9738, 38.2526)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CA8 #9EA84C
analogous
#4C70A8 #564CA8 #844CA8
triadic
#564CA8 #A8564C #4CA856
tetradic
#564CA8 #A84C70 #9EA84C #4CA884
square
#564CA8 #A84C70 #9EA84C #4CA884
split-complementary
#564CA8 #A8844C #70A84C
monochromatic
#2B2654 #40397E #564CA8 #7A72BF #A29CD2

Accessibility & contrast

On white

7.01
#564CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#564CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564CA8
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CA8#FFFFFF#000000##FFFFFF
##564CA81.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5CAB
Deuteranopia (green-blind)
#1456A6
Tritanopia (blue-blind)
#396072
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #564ca8;
/* rgb */ color: rgb(86, 76, 168);
/* oklch */ color: oklch(47.6% 0.143 284.5);
Tailwind
colors: {
  custom: {
    50: '#8b7ec2',
    500: '#564ca8',
    950: '#000000',
  },
}
SCSS
$custom: #564ca8;
$custom-light: #8b7ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#564ca8",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 246.522,
    "s": 37.705,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47551,
    "c": 0.14252,
    "h": 284.5
  },
  "luminance": 0.09974
}

Semantic roles & 50–950 ramp

primary
#564CA8
secondary
#BABF91
accent
#CE5AC1
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #564CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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