#564FA4#564FA4

#564FA4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.133 H 283.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#564FA4
RGBrgb(86, 79, 164)
HSLhsl(245, 35%, 48%)
HSVhsv(245, 52%, 64%)
CMYKcmyk(47.6%, 51.8%, 0%, 35.7%)
CIE-LABlab(38.29, 25.80, -45.20)
CIE-LCHlch(38.29, 52.04, 299.72°)
OKLaboklab(47.83% 0.0319 -0.1286)
OKLCHoklch(47.83% 0.133 283.9)
XYZxyz(13.3326, 10.2501, 36.3907)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564FA4 #9DA44F
analogous
#4F73A4 #564FA4 #804FA4
triadic
#564FA4 #A4564F #4FA456
tetradic
#564FA4 #A44F73 #9DA44F #4FA480
square
#564FA4 #A44F73 #9DA44F #4FA480
split-complementary
#564FA4 #A4804F #73A44F
monochromatic
#2B2751 #403B7B #564FA4 #7A74BC #A29DD0

Accessibility & contrast

On white

6.88
#564FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#564FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564FA4
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564FA4#FFFFFF#000000##FFFFFF
##564FA41.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA7
Deuteranopia (green-blind)
#2357A2
Tritanopia (blue-blind)
#3C6172
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #564fa4;
/* rgb */ color: rgb(86, 79, 164);
/* oklch */ color: oklch(47.8% 0.133 283.9);
Tailwind
colors: {
  custom: {
    50: '#8b80bf',
    500: '#564fa4',
    950: '#000000',
  },
}
SCSS
$custom: #564fa4;
$custom-light: #8b80bf;
$custom-dark: #000000;
JSON
{
  "hex": "#564fa4",
  "rgb": {
    "r": 86,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 244.941,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47834,
    "c": 0.13251,
    "h": 283.9
  },
  "luminance": 0.10251
}

Semantic roles & 50–950 ramp

primary
#564FA4
secondary
#B9BD92
accent
#CB5DC2
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #564FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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