#564CEB#564CEB

#564CEB is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 53.0% C 0.229 H 277.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#564CEB
RGBrgb(86, 76, 235)
HSLhsl(244, 80%, 61%)
HSVhsv(244, 68%, 92%)
CMYKcmyk(63.4%, 67.7%, 0%, 7.8%)
CIE-LABlab(42.98, 50.02, -78.78)
CIE-LCHlch(42.98, 93.31, 302.41°)
OKLaboklab(52.96% 0.0316 -0.2273)
OKLCHoklch(52.96% 0.229 277.9)
XYZxyz(21.4127, 13.1437, 79.9897)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CEB #E1EB4C
analogous
#4C91EB #564CEB #A64CEB
triadic
#564CEB #EB564C #4CEB56
tetradic
#564CEB #EB4C91 #E1EB4C #4CEBA6
square
#564CEB #EB4C91 #E1EB4C #4CEBA6
split-complementary
#564CEB #EBA64C #91EB4C
monochromatic
#1C13AA #2619E1 #564CEB #8A83F1 #BEBAF7

Accessibility & contrast

On white

5.79
#564CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#564CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564CEB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CEB#FFFFFF#000000##FFFFFF
##564CEB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#005FE8
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #564ceb;
/* rgb */ color: rgb(86, 76, 235);
/* oklch */ color: oklch(53.0% 0.229 277.9);
Tailwind
colors: {
  custom: {
    50: '#967ff3',
    500: '#564ceb',
    950: '#000000',
  },
}
SCSS
$custom: #564ceb;
$custom-light: #967ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#564ceb",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 243.774,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52959,
    "c": 0.22946,
    "h": 277.9
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#564CEB
secondary
#E4E7AB
accent
#DC09CF
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #564CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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