#564CB5#564CB5

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

Color values

HEX#564CB5
RGBrgb(86, 76, 181)
HSLhsl(246, 42%, 50%)
HSVhsv(246, 58%, 71%)
CMYKcmyk(52.5%, 58%, 0%, 29%)
CIE-LABlab(38.70, 33.00, -54.62)
CIE-LCHlch(38.70, 63.81, 301.14°)
OKLaboklab(48.5% 0.0359 -0.1564)
OKLCHoklch(48.5% 0.16 282.9)
XYZxyz(14.7601, 10.4827, 44.9527)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CB5 #ABB54C
analogous
#4C77B5 #564CB5 #8A4CB5
triadic
#564CB5 #B5564C #4CB556
tetradic
#564CB5 #B54C77 #ABB54C #4CB58A
square
#564CB5 #B54C77 #ABB54C #4CB58A
split-complementary
#564CB5 #B58A4C #77B54C
monochromatic
#2D275F #41398B #564CB5 #7F77C7 #A8A3D9

Accessibility & contrast

On white

6.78
#564CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #564CB5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CB5#FFFFFF#000000##FFFFFF
##564CB51.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#2F6479
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #564cb5;
/* rgb */ color: rgb(86, 76, 181);
/* oklch */ color: oklch(48.5% 0.160 282.9);
Tailwind
colors: {
  custom: {
    50: '#8d7ecc',
    500: '#564cb5',
    950: '#000000',
  },
}
SCSS
$custom: #564cb5;
$custom-light: #8d7ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#564cb5",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 245.714,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48504,
    "c": 0.16043,
    "h": 282.9
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#564CB5
secondary
#C1C697
accent
#D156C6
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #564CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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