#564BB1#564BB1

#564BB1 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.156 H 283.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#564BB1
RGBrgb(86, 75, 177)
HSLhsl(246, 40%, 49%)
HSVhsv(246, 58%, 69%)
CMYKcmyk(51.4%, 57.6%, 0%, 30.6%)
CIE-LABlab(38.17, 32.36, -53.11)
CIE-LCHlch(38.17, 62.19, 301.35°)
OKLaboklab(48.03% 0.037 -0.1519)
OKLCHoklch(48.03% 0.156 283.7)
XYZxyz(14.2872, 10.1842, 42.7994)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BB1 #A6B14B
analogous
#4B73B1 #564BB1 #894BB1
triadic
#564BB1 #B1564B #4BB156
tetradic
#564BB1 #B14B73 #A6B14B #4BB189
square
#564BB1 #B14B73 #A6B14B #4BB189
split-complementary
#564BB1 #B1894B #73B14B
monochromatic
#2C275B #413986 #564BB1 #7D75C4 #A6A0D7

Accessibility & contrast

On white

6.91
#564BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#564BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564BB1
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564BB1#FFFFFF#000000##FFFFFF
##564BB11.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#336276
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #564bb1;
/* rgb */ color: rgb(86, 75, 177);
/* oklch */ color: oklch(48.0% 0.156 283.7);
Tailwind
colors: {
  custom: {
    50: '#8d7dc9',
    500: '#564bb1',
    950: '#000000',
  },
}
SCSS
$custom: #564bb1;
$custom-light: #8d7dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#564bb1",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 246.471,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.15636,
    "h": 283.7
  },
  "luminance": 0.10185
}

Semantic roles & 50–950 ramp

primary
#564BB1
secondary
#BEC394
accent
#D057C3
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #564BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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