#564EB2#564EB2

#564EB2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.154 H 282.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#564EB2
RGBrgb(86, 78, 178)
HSLhsl(245, 39%, 50%)
HSVhsv(245, 56%, 70%)
CMYKcmyk(51.7%, 56.2%, 0%, 30.2%)
CIE-LABlab(38.97, 30.82, -52.41)
CIE-LCHlch(38.97, 60.80, 300.46°)
OKLaboklab(48.64% 0.0337 -0.1498)
OKLCHoklch(48.64% 0.154 282.7)
XYZxyz(14.5956, 10.6408, 43.3956)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564EB2 #AAB24E
analogous
#4E78B2 #564EB2 #884EB2
triadic
#564EB2 #B2564E #4EB256
tetradic
#564EB2 #B24E78 #AAB24E #4EB288
square
#564EB2 #B24E78 #AAB24E #4EB288
split-complementary
#564EB2 #B2884E #78B24E
monochromatic
#2D295D #413B88 #564EB2 #7F79C5 #A7A3D7

Accessibility & contrast

On white

6.71
#564EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#564EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564EB2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564EB2#FFFFFF#000000##FFFFFF
##564EB21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5FB5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#326578
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #564eb2;
/* rgb */ color: rgb(86, 78, 178);
/* oklch */ color: oklch(48.6% 0.154 282.7);
Tailwind
colors: {
  custom: {
    50: '#8d80ca',
    500: '#564eb2',
    950: '#000000',
  },
}
SCSS
$custom: #564eb2;
$custom-light: #8d80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#564eb2",
  "rgb": {
    "r": 86,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 244.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4864,
    "c": 0.15359,
    "h": 282.7
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #564EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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