#564EA3#564EA3

#564EA3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.133 H 284.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#564EA3
RGBrgb(86, 78, 163)
HSLhsl(246, 35%, 47%)
HSVhsv(246, 52%, 64%)
CMYKcmyk(47.2%, 52.1%, 0%, 36.1%)
CIE-LABlab(37.97, 26.11, -45.11)
CIE-LCHlch(37.97, 52.12, 300.07°)
OKLaboklab(47.58% 0.033 -0.1284)
OKLCHoklch(47.58% 0.133 284.4)
XYZxyz(13.1711, 10.0710, 35.8931)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564EA3 #9BA34E
analogous
#4E71A3 #564EA3 #814EA3
triadic
#564EA3 #A3564E #4EA356
tetradic
#564EA3 #A34E71 #9BA34E #4EA381
square
#564EA3 #A34E71 #9BA34E #4EA381
split-complementary
#564EA3 #A3814E #71A34E
monochromatic
#2A2650 #403A7A #564EA3 #7972BC #A19CD0

Accessibility & contrast

On white

6.97
#564EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #564EA3
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564EA3#FFFFFF#000000##FFFFFF
##564EA31.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA6
Deuteranopia (green-blind)
#2257A1
Tritanopia (blue-blind)
#3C6071
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #564ea3;
/* rgb */ color: rgb(86, 78, 163);
/* oklch */ color: oklch(47.6% 0.133 284.4);
Tailwind
colors: {
  custom: {
    50: '#8b7fbf',
    500: '#564ea3',
    950: '#000000',
  },
}
SCSS
$custom: #564ea3;
$custom-light: #8b7fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#564ea3",
  "rgb": {
    "r": 86,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 245.647,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47575,
    "c": 0.13255,
    "h": 284.4
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#564EA3
secondary
#B8BC91
accent
#CB5CC1
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #564EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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