#56529C#56529C

#56529C is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.9% C 0.116 H 283.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#56529C
RGBrgb(86, 82, 156)
HSLhsl(243, 31%, 47%)
HSVhsv(243, 47%, 61%)
CMYKcmyk(44.9%, 47.4%, 0%, 38.8%)
CIE-LABlab(38.57, 21.42, -39.95)
CIE-LCHlch(38.57, 45.33, 298.20°)
OKLaboklab(47.89% 0.0272 -0.1132)
OKLCHoklch(47.89% 0.116 283.5)
XYZxyz(12.8540, 10.4128, 32.7786)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56529C #989C52
analogous
#52739C #56529C #7B529C
triadic
#56529C #9C5652 #529C56
tetradic
#56529C #9C5273 #989C52 #529C7B
square
#56529C #9C5273 #989C52 #529C7B
split-complementary
#56529C #9C7B52 #739C52
monochromatic
#2A284C #403D74 #56529C #7875B6 #9F9DCB

Accessibility & contrast

On white

6.81
#56529C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#56529C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56529C
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56529C#FFFFFF#000000##FFFFFF
##56529C1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345D9F
Deuteranopia (green-blind)
#31589A
Tritanopia (blue-blind)
#40616F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #56529c;
/* rgb */ color: rgb(86, 82, 156);
/* oklch */ color: oklch(47.9% 0.116 283.5);
Tailwind
colors: {
  custom: {
    50: '#8a82ba',
    500: '#56529c',
    950: '#000000',
  },
}
SCSS
$custom: #56529c;
$custom-light: #8a82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#56529c",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 243.243,
    "s": 31.092,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4789,
    "c": 0.11644,
    "h": 283.5
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#56529C
secondary
#B6B991
accent
#C761C2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #56529C

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

Preview Lab → · Contrast checker → · Palette generator →

#56529C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva