#564EA2#564EA2

#564EA2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.131 H 284.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#564EA2
RGBrgb(86, 78, 162)
HSLhsl(246, 35%, 47%)
HSVhsv(246, 52%, 64%)
CMYKcmyk(46.9%, 51.9%, 0%, 36.5%)
CIE-LABlab(37.91, 25.80, -44.61)
CIE-LCHlch(37.91, 51.54, 300.04°)
OKLaboklab(47.51% 0.033 -0.1269)
OKLCHoklch(47.51% 0.131 284.6)
XYZxyz(13.0818, 10.0353, 35.4231)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564EA2 #9AA24E
analogous
#4E70A2 #564EA2 #804EA2
triadic
#564EA2 #A2564E #4EA256
tetradic
#564EA2 #A24E70 #9AA24E #4EA280
square
#564EA2 #A24E70 #9AA24E #4EA280
split-complementary
#564EA2 #A2804E #70A24E
monochromatic
#2A264F #403A79 #564EA2 #7972BB #A09BCF

Accessibility & contrast

On white

6.98
#564EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#564EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564EA2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564EA2#FFFFFF#000000##FFFFFF
##564EA21.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA5
Deuteranopia (green-blind)
#2457A0
Tritanopia (blue-blind)
#3D6070
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #564ea2;
/* rgb */ color: rgb(86, 78, 162);
/* oklch */ color: oklch(47.5% 0.131 284.6);
Tailwind
colors: {
  custom: {
    50: '#8b7fbe',
    500: '#564ea2',
    950: '#000000',
  },
}
SCSS
$custom: #564ea2;
$custom-light: #8b7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#564ea2",
  "rgb": {
    "r": 86,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 245.714,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47507,
    "c": 0.13112,
    "h": 284.6
  },
  "luminance": 0.10036
}

Semantic roles & 50–950 ramp

primary
#564EA2
secondary
#B8BC90
accent
#CB5DC1
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #564EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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