#564DB2#564DB2

#564DB2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.155 H 283.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#564DB2
RGBrgb(86, 77, 178)
HSLhsl(245, 40%, 50%)
HSVhsv(245, 57%, 70%)
CMYKcmyk(51.7%, 56.7%, 0%, 30.2%)
CIE-LABlab(38.72, 31.44, -52.80)
CIE-LCHlch(38.72, 61.45, 300.77°)
OKLaboklab(48.46% 0.0348 -0.151)
OKLCHoklch(48.46% 0.155 283)
XYZxyz(14.5251, 10.4998, 43.3721)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564DB2 #A9B24D
analogous
#4D76B2 #564DB2 #894DB2
triadic
#564DB2 #B2564D #4DB256
tetradic
#564DB2 #B24D76 #A9B24D #4DB289
square
#564DB2 #B24D76 #A9B24D #4DB289
split-complementary
#564DB2 #B2894D #76B24D
monochromatic
#2D285D #413B87 #564DB2 #7F78C4 #A7A2D7

Accessibility & contrast

On white

6.77
#564DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#564DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564DB2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564DB2#FFFFFF#000000##FFFFFF
##564DB21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045EB5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#326478
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #564db2;
/* rgb */ color: rgb(86, 77, 178);
/* oklch */ color: oklch(48.5% 0.155 283.0);
Tailwind
colors: {
  custom: {
    50: '#8d7fca',
    500: '#564db2',
    950: '#000000',
  },
}
SCSS
$custom: #564db2;
$custom-light: #8d7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#564db2",
  "rgb": {
    "r": 86,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 245.347,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.48459,
    "c": 0.15496,
    "h": 283
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#564DB2
secondary
#C0C497
accent
#CF58C5
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #564DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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