#564ECB#564ECB

#564ECB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.6% C 0.187 H 280.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#564ECB
RGBrgb(86, 78, 203)
HSLhsl(244, 55%, 55%)
HSVhsv(244, 62%, 80%)
CMYKcmyk(57.6%, 61.6%, 0%, 20.4%)
CIE-LABlab(40.80, 38.76, -64.05)
CIE-LCHlch(40.80, 74.87, 301.18°)
OKLaboklab(50.56% 0.0332 -0.1841)
OKLCHoklch(50.56% 0.187 280.2)
XYZxyz(17.3382, 11.7378, 57.8403)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564ECB #C3CB4E
analogous
#4E84CB #564ECB #944ECB
triadic
#564ECB #CB564E #4ECB56
tetradic
#564ECB #CB4E84 #C3CB4E #4ECB94
square
#564ECB #CB4E84 #C3CB4E #4ECB94
split-complementary
#564ECB #CB944E #84CB4E
monochromatic
#2A247B #3A32AA #564ECB #837DD9 #B0ADE7

Accessibility & contrast

On white

6.27
#564ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#564ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564ECB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564ECB#FFFFFF#000000##FFFFFF
##564ECB1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#0E6D85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #564ecb;
/* rgb */ color: rgb(86, 78, 203);
/* oklch */ color: oklch(50.6% 0.187 280.2);
Tailwind
colors: {
  custom: {
    50: '#9180dc',
    500: '#564ecb',
    950: '#000000',
  },
}
SCSS
$custom: #564ecb;
$custom-light: #9180dc;
$custom-dark: #000000;
JSON
{
  "hex": "#564ecb",
  "rgb": {
    "r": 86,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 243.84,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50564,
    "c": 0.18704,
    "h": 280.2
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#564ECB
secondary
#D1D5A0
accent
#DE4AD4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #564ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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