#564C95#564C95

#564C95 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 46.3% C 0.115 H 287.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#564C95
RGBrgb(86, 76, 149)
HSLhsl(248, 32%, 44%)
HSVhsv(248, 49%, 58%)
CMYKcmyk(42.3%, 49%, 0%, 41.6%)
CIE-LABlab(36.59, 23.08, -38.90)
CIE-LCHlch(36.59, 45.23, 300.69°)
OKLaboklab(46.26% 0.0343 -0.1101)
OKLCHoklch(46.26% 0.115 287.3)
XYZxyz(11.8455, 9.3168, 29.6021)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564C95 #8B954C
analogous
#4C6795 #564C95 #7B4C95
triadic
#564C95 #95564C #4C9556
tetradic
#564C95 #954C67 #8B954C #4C957B
square
#564C95 #954C67 #8B954C #4C957B
split-complementary
#564C95 #957B4C #67954C
monochromatic
#272344 #3F376C #564C95 #756BB3 #9B93C8

Accessibility & contrast

On white

7.33
#564C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#564C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564C95
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564C95#FFFFFF#000000##FFFFFF
##564C951.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5898
Deuteranopia (green-blind)
#2E5493
Tritanopia (blue-blind)
#445B69
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #564c95;
/* rgb */ color: rgb(86, 76, 149);
/* oklch */ color: oklch(46.3% 0.115 287.3);
Tailwind
colors: {
  custom: {
    50: '#897eb4',
    500: '#564c95',
    950: '#000000',
  },
}
SCSS
$custom: #564c95;
$custom-light: #897eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#564c95",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 149
  },
  "hsl": {
    "h": 248.219,
    "s": 32.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46258,
    "c": 0.11535,
    "h": 287.3
  },
  "luminance": 0.09317
}

Semantic roles & 50–950 ramp

primary
#564C95
secondary
#AEB488
accent
#C95FBA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #564C95

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

Preview Lab → · Contrast checker → · Palette generator →

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