#564BB4#564BB4

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

Color values

HEX#564BB4
RGBrgb(86, 75, 180)
HSLhsl(246, 41%, 50%)
HSVhsv(246, 58%, 71%)
CMYKcmyk(52.2%, 58.3%, 0%, 29.4%)
CIE-LABlab(38.38, 33.30, -54.53)
CIE-LCHlch(38.38, 63.90, 301.41°)
OKLaboklab(48.25% 0.037 -0.1561)
OKLCHoklch(48.25% 0.16 283.3)
XYZxyz(14.5896, 10.3051, 44.3915)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BB4 #A9B44B
analogous
#4B74B4 #564BB4 #8B4BB4
triadic
#564BB4 #B4564B #4BB456
tetradic
#564BB4 #B44B74 #A9B44B #4BB48B
square
#564BB4 #B44B74 #A9B44B #4BB48B
split-complementary
#564BB4 #B48B4B #74B44B
monochromatic
#2D275E #413989 #564BB4 #7F76C6 #A7A1D8

Accessibility & contrast

On white

6.86
#564BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#564BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564BB4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564BB4#FFFFFF#000000##FFFFFF
##564BB41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#306378
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #564bb4;
/* rgb */ color: rgb(86, 75, 180);
/* oklch */ color: oklch(48.3% 0.160 283.3);
Tailwind
colors: {
  custom: {
    50: '#8d7dcb',
    500: '#564bb4',
    950: '#000000',
  },
}
SCSS
$custom: #564bb4;
$custom-light: #8d7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#564bb4",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 246.286,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.16044,
    "h": 283.3
  },
  "luminance": 0.10306
}

Semantic roles & 50–950 ramp

primary
#564BB4
secondary
#C0C596
accent
#D157C4
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #564BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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