#564BBE#564BBE

#564BBE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.174 H 282.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#564BBE
RGBrgb(86, 75, 190)
HSLhsl(246, 47%, 52%)
HSVhsv(246, 61%, 75%)
CMYKcmyk(54.7%, 60.5%, 0%, 25.5%)
CIE-LABlab(39.12, 36.45, -59.22)
CIE-LCHlch(39.12, 69.54, 301.61°)
OKLaboklab(49.02% 0.0367 -0.1699)
OKLCHoklch(49.02% 0.174 282.2)
XYZxyz(15.6452, 10.7273, 49.9514)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BBE #B3BE4B
analogous
#4B7ABE #564BBE #904BBE
triadic
#564BBE #BE564B #4BBE56
tetradic
#564BBE #BE4B7A #B3BE4B #4BBE90
square
#564BBE #BE4B7A #B3BE4B #4BBE90
split-complementary
#564BBE #BE904B #7ABE4B
monochromatic
#2C2669 #3F3696 #564BBE #8078CE #AAA5DE

Accessibility & contrast

On white

6.68
#564BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#564BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564BBE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564BBE#FFFFFF#000000##FFFFFF
##564BBE1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#26667D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #564bbe;
/* rgb */ color: rgb(86, 75, 190);
/* oklch */ color: oklch(49.0% 0.174 282.2);
Tailwind
colors: {
  custom: {
    50: '#8f7ed2',
    500: '#564bbe',
    950: '#000000',
  },
}
SCSS
$custom: #564bbe;
$custom-light: #8f7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#564bbe",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 245.739,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.17382,
    "h": 282.2
  },
  "luminance": 0.10728
}

Semantic roles & 50–950 ramp

primary
#564BBE
secondary
#C7CC99
accent
#D751CA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #564BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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