#564BA1#564BA1

#564BA1 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.134 H 285.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#564BA1
RGBrgb(86, 75, 161)
HSLhsl(248, 36%, 46%)
HSVhsv(248, 53%, 63%)
CMYKcmyk(46.6%, 53.4%, 0%, 36.9%)
CIE-LABlab(37.08, 27.38, -45.33)
CIE-LCHlch(37.08, 52.96, 301.13°)
OKLaboklab(46.87% 0.0366 -0.129)
OKLCHoklch(46.87% 0.134 285.8)
XYZxyz(12.7850, 9.5832, 34.8874)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BA1 #96A14B
analogous
#4B6BA1 #564BA1 #814BA1
triadic
#564BA1 #A1564B #4BA156
tetradic
#564BA1 #A14B6B #96A14B #4BA181
square
#564BA1 #A14B6B #96A14B #4BA181
split-complementary
#564BA1 #A1814B #6BA14B
monochromatic
#29244E #403877 #564BA1 #786EBB #9F98CF

Accessibility & contrast

On white

7.20
#564BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#564BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564BA1
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564BA1#FFFFFF#000000##FFFFFF
##564BA11.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#1F559F
Tritanopia (blue-blind)
#3E5E6E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #564ba1;
/* rgb */ color: rgb(86, 75, 161);
/* oklch */ color: oklch(46.9% 0.134 285.8);
Tailwind
colors: {
  custom: {
    50: '#8b7dbd',
    500: '#564ba1',
    950: '#000000',
  },
}
SCSS
$custom: #564ba1;
$custom-light: #8b7dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#564ba1",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 247.674,
    "s": 36.441,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46872,
    "c": 0.13413,
    "h": 285.8
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

primary
#564BA1
secondary
#B5BB8D
accent
#CC5BBE
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #564BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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