#56518E#56518E

#56518E is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.8% C 0.097 H 285.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#56518E
RGBrgb(86, 81, 142)
HSLhsl(245, 27%, 44%)
HSVhsv(245, 43%, 56%)
CMYKcmyk(39.4%, 43%, 0%, 44.3%)
CIE-LABlab(37.51, 17.80, -33.18)
CIE-LCHlch(37.51, 37.66, 298.21°)
OKLaboklab(46.83% 0.0263 -0.0934)
OKLCHoklch(46.83% 0.097 285.7)
XYZxyz(11.6613, 9.8159, 26.8662)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56518E #898E51
analogous
#516A8E #56518E #74518E
triadic
#56518E #8E5651 #518E56
tetradic
#56518E #8E516A #898E51 #518E74
square
#56518E #8E516A #898E51 #518E74
split-complementary
#56518E #8E7451 #6A8E51
monochromatic
#272540 #3E3B67 #56518E #746FAD #9A96C3

Accessibility & contrast

On white

7.09
#56518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#56518E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56518E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56518E#FFFFFF#000000##FFFFFF
##56518E1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A90
Deuteranopia (green-blind)
#3B578D
Tritanopia (blue-blind)
#475D68
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #56518e;
/* rgb */ color: rgb(86, 81, 142);
/* oklch */ color: oklch(46.8% 0.097 285.7);
Tailwind
colors: {
  custom: {
    50: '#8881af',
    500: '#56518e',
    950: '#000000',
  },
}
SCSS
$custom: #56518e;
$custom-light: #8881af;
$custom-dark: #000000;
JSON
{
  "hex": "#56518e",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 244.918,
    "s": 27.354,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46825,
    "c": 0.09707,
    "h": 285.7
  },
  "luminance": 0.09816
}

Semantic roles & 50–950 ramp

primary
#56518E
secondary
#ADB08B
accent
#C464BC
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #56518E

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

Preview Lab → · Contrast checker → · Palette generator →

#56518E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva