#564BB9#564BB9

#564BB9 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.167 H 282.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#564BB9
RGBrgb(86, 75, 185)
HSLhsl(246, 44%, 51%)
HSVhsv(246, 59%, 73%)
CMYKcmyk(53.5%, 59.5%, 0%, 27.5%)
CIE-LABlab(38.75, 34.87, -56.89)
CIE-LCHlch(38.75, 66.73, 301.51°)
OKLaboklab(48.63% 0.0369 -0.163)
OKLCHoklch(48.63% 0.167 282.8)
XYZxyz(15.1081, 10.5125, 47.1226)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BB9 #AEB94B
analogous
#4B77B9 #564BB9 #8D4BB9
triadic
#564BB9 #B9564B #4BB956
tetradic
#564BB9 #B94B77 #AEB94B #4BB98D
square
#564BB9 #B94B77 #AEB94B #4BB98D
split-complementary
#564BB9 #B98D4B #77B94B
monochromatic
#2D2763 #40388F #564BB9 #7F77CA #A9A3DB

Accessibility & contrast

On white

6.77
#564BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#564BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564BB9
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564BB9#FFFFFF#000000##FFFFFF
##564BB91.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#2C657B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #564bb9;
/* rgb */ color: rgb(86, 75, 185);
/* oklch */ color: oklch(48.6% 0.167 282.8);
Tailwind
colors: {
  custom: {
    50: '#8e7ecf',
    500: '#564bb9',
    950: '#000000',
  },
}
SCSS
$custom: #564bb9;
$custom-light: #8e7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#564bb9",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 246,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48634,
    "c": 0.16717,
    "h": 282.8
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#564BB9
secondary
#C3C898
accent
#D454C7
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #564BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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