#564BBB#564BBB

#564BBB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.170 H 282.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#564BBB
RGBrgb(86, 75, 187)
HSLhsl(246, 45%, 51%)
HSVhsv(246, 60%, 73%)
CMYKcmyk(54%, 59.9%, 0%, 26.7%)
CIE-LABlab(38.89, 35.50, -57.83)
CIE-LCHlch(38.89, 67.85, 301.55°)
OKLaboklab(48.79% 0.0369 -0.1658)
OKLCHoklch(48.79% 0.17 282.5)
XYZxyz(15.3207, 10.5975, 48.2423)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BBB #B0BB4B
analogous
#4B78BB #564BBB #8E4BBB
triadic
#564BBB #BB564B #4BBB56
tetradic
#564BBB #BB4B78 #B0BB4B #4BBB8E
square
#564BBB #BB4B78 #B0BB4B #4BBB8E
split-complementary
#564BBB #BB8E4B #78BB4B
monochromatic
#2C2665 #403792 #564BBB #8077CC #A9A4DD

Accessibility & contrast

On white

6.73
#564BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#564BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564BBB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564BBB#FFFFFF#000000##FFFFFF
##564BBB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#29667C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #564bbb;
/* rgb */ color: rgb(86, 75, 187);
/* oklch */ color: oklch(48.8% 0.170 282.5);
Tailwind
colors: {
  custom: {
    50: '#8e7ed0',
    500: '#564bbb',
    950: '#000000',
  },
}
SCSS
$custom: #564bbb;
$custom-light: #8e7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#564bbb",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 245.893,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48789,
    "c": 0.16984,
    "h": 282.5
  },
  "luminance": 0.10598
}

Semantic roles & 50–950 ramp

primary
#564BBB
secondary
#C5CA98
accent
#D553C8
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #564BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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