#564CB2#564CB2

#564CB2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.156 H 283.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#564CB2
RGBrgb(86, 76, 178)
HSLhsl(246, 40%, 50%)
HSVhsv(246, 57%, 70%)
CMYKcmyk(51.7%, 57.3%, 0%, 30.2%)
CIE-LABlab(38.48, 32.05, -53.20)
CIE-LCHlch(38.48, 62.11, 301.07°)
OKLaboklab(48.28% 0.0359 -0.1522)
OKLCHoklch(48.28% 0.156 283.3)
XYZxyz(14.4556, 10.3609, 43.3490)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564CB2 #A8B24C
analogous
#4C75B2 #564CB2 #894CB2
triadic
#564CB2 #B2564C #4CB256
tetradic
#564CB2 #B24C75 #A8B24C #4CB289
square
#564CB2 #B24C75 #A8B24C #4CB289
split-complementary
#564CB2 #B2894C #75B24C
monochromatic
#2D275C #413A87 #564CB2 #7E76C5 #A7A1D7

Accessibility & contrast

On white

6.84
#564CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#564CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564CB2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564CB2#FFFFFF#000000##FFFFFF
##564CB21.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#326377
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #564cb2;
/* rgb */ color: rgb(86, 76, 178);
/* oklch */ color: oklch(48.3% 0.156 283.3);
Tailwind
colors: {
  custom: {
    50: '#8d7eca',
    500: '#564cb2',
    950: '#000000',
  },
}
SCSS
$custom: #564cb2;
$custom-light: #8d7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#564cb2",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 245.882,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4828,
    "c": 0.15634,
    "h": 283.3
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#564CB2
secondary
#BFC496
accent
#D058C4
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #564CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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