#564FB2#564FB2

#564FB2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.152 H 282.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#564FB2
RGBrgb(86, 79, 178)
HSLhsl(244, 39%, 50%)
HSVhsv(244, 56%, 70%)
CMYKcmyk(51.7%, 55.6%, 0%, 30.2%)
CIE-LABlab(39.21, 30.20, -52.01)
CIE-LCHlch(39.21, 60.14, 300.14°)
OKLaboklab(48.82% 0.0326 -0.1487)
OKLCHoklch(48.82% 0.152 282.4)
XYZxyz(14.6672, 10.7839, 43.4195)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564FB2 #ABB24F
analogous
#4F7AB2 #564FB2 #874FB2
triadic
#564FB2 #B2564F #4FB256
tetradic
#564FB2 #B24F7A #ABB24F #4FB287
square
#564FB2 #B24F7A #ABB24F #4FB287
split-complementary
#564FB2 #B2874F #7AB24F
monochromatic
#2D295E #413C88 #564FB2 #7F7AC5 #A8A4D7

Accessibility & contrast

On white

6.65
#564FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#564FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564FB2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564FB2#FFFFFF#000000##FFFFFF
##564FB21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#316579
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #564fb2;
/* rgb */ color: rgb(86, 79, 178);
/* oklch */ color: oklch(48.8% 0.152 282.4);
Tailwind
colors: {
  custom: {
    50: '#8d80ca',
    500: '#564fb2',
    950: '#000000',
  },
}
SCSS
$custom: #564fb2;
$custom-light: #8d80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#564fb2",
  "rgb": {
    "r": 86,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 244.242,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48822,
    "c": 0.1522,
    "h": 282.4
  },
  "luminance": 0.10785
}

Semantic roles & 50–950 ramp

primary
#564FB2
secondary
#C1C498
accent
#CF59C7
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #564FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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