#564EB3#564EB3

#564EB3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.7% C 0.155 H 282.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#564EB3
RGBrgb(86, 78, 179)
HSLhsl(245, 40%, 50%)
HSVhsv(245, 56%, 70%)
CMYKcmyk(52%, 56.4%, 0%, 29.8%)
CIE-LABlab(39.04, 31.13, -52.89)
CIE-LCHlch(39.04, 61.37, 300.48°)
OKLaboklab(48.71% 0.0337 -0.1512)
OKLCHoklch(48.71% 0.155 282.6)
XYZxyz(14.6963, 10.6811, 43.9263)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564EB3 #ABB34E
analogous
#4E79B3 #564EB3 #884EB3
triadic
#564EB3 #B3564E #4EB356
tetradic
#564EB3 #B34E79 #ABB34E #4EB388
square
#564EB3 #B34E79 #ABB34E #4EB388
split-complementary
#564EB3 #B3884E #79B34E
monochromatic
#2D285E #413B89 #564EB3 #7F79C5 #A8A4D8

Accessibility & contrast

On white

6.70
#564EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #564EB3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564EB3#FFFFFF#000000##FFFFFF
##564EB31.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075FB6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#316579
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #564eb3;
/* rgb */ color: rgb(86, 78, 179);
/* oklch */ color: oklch(48.7% 0.155 282.6);
Tailwind
colors: {
  custom: {
    50: '#8d80ca',
    500: '#564eb3',
    950: '#000000',
  },
}
SCSS
$custom: #564eb3;
$custom-light: #8d80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#564eb3",
  "rgb": {
    "r": 86,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 244.752,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48713,
    "c": 0.15497,
    "h": 282.6
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

primary
#564EB3
secondary
#C1C598
accent
#D058C6
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #564EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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