#564CBE#564CBE

#564CBE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.2% C 0.173 H 282.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#564CBE
RGBrgb(86, 76, 190)
HSLhsl(245, 47%, 52%)
HSVhsv(245, 60%, 75%)
CMYKcmyk(54.7%, 60%, 0%, 25.5%)
CIE-LABlab(39.35, 35.84, -58.84)
CIE-LCHlch(39.35, 68.90, 301.35°)
OKLaboklab(49.2% 0.0357 -0.1688)
OKLCHoklch(49.2% 0.173 282)
XYZxyz(15.7136, 10.8641, 49.9742)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CBE #B4BE4C
analogous
#4C7BBE #564CBE #8F4CBE
triadic
#564CBE #BE564C #4CBE56
tetradic
#564CBE #BE4C7B #B4BE4C #4CBE8F
square
#564CBE #BE4C7B #B4BE4C #4CBE8F
split-complementary
#564CBE #BE8F4C #7BBE4C
monochromatic
#2C2669 #3F3796 #564CBE #8079CE #ABA6DF

Accessibility & contrast

On white

6.62
#564CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#564CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564CBE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CBE#FFFFFF#000000##FFFFFF
##564CBE1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#26677E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #564cbe;
/* rgb */ color: rgb(86, 76, 190);
/* oklch */ color: oklch(49.2% 0.173 282.0);
Tailwind
colors: {
  custom: {
    50: '#8f7ed2',
    500: '#564cbe',
    950: '#000000',
  },
}
SCSS
$custom: #564cbe;
$custom-light: #8f7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#564cbe",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 245.263,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49195,
    "c": 0.17251,
    "h": 282
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#564CBE
secondary
#C7CC9A
accent
#D651CB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #564CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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