#564CBA#564CBA

#564CBA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.9% C 0.167 H 282.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#564CBA
RGBrgb(86, 76, 186)
HSLhsl(245, 44%, 51%)
HSVhsv(245, 59%, 73%)
CMYKcmyk(53.8%, 59.1%, 0%, 27.1%)
CIE-LABlab(39.06, 34.58, -56.98)
CIE-LCHlch(39.06, 66.65, 301.25°)
OKLaboklab(48.89% 0.0358 -0.1633)
OKLCHoklch(48.89% 0.167 282.4)
XYZxyz(15.2824, 10.6916, 47.7033)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CBA #B0BA4C
analogous
#4C79BA #564CBA #8D4CBA
triadic
#564CBA #BA564C #4CBA56
tetradic
#564CBA #BA4C79 #B0BA4C #4CBA8D
square
#564CBA #BA4C79 #B0BA4C #4CBA8D
split-complementary
#564CBA #BA8D4C #79BA4C
monochromatic
#2C2765 #403891 #564CBA #8078CB #A9A4DC

Accessibility & contrast

On white

6.69
#564CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#564CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564CBA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CBA#FFFFFF#000000##FFFFFF
##564CBA1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#2A667B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #564cba;
/* rgb */ color: rgb(86, 76, 186);
/* oklch */ color: oklch(48.9% 0.167 282.4);
Tailwind
colors: {
  custom: {
    50: '#8e7ecf',
    500: '#564cba',
    950: '#000000',
  },
}
SCSS
$custom: #564cba;
$custom-light: #8e7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#564cba",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 245.455,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48885,
    "c": 0.16717,
    "h": 282.4
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#564CBA
secondary
#C5C999
accent
#D454C8
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #564CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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