#56529B#56529B

#56529B is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.8% C 0.115 H 283.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#56529B
RGBrgb(86, 82, 155)
HSLhsl(243, 31%, 46%)
HSVhsv(243, 47%, 61%)
CMYKcmyk(44.5%, 47.1%, 0%, 39.2%)
CIE-LABlab(38.51, 21.11, -39.44)
CIE-LCHlch(38.51, 44.74, 298.16°)
OKLaboklab(47.83% 0.0271 -0.1117)
OKLCHoklch(47.83% 0.115 283.6)
XYZxyz(12.7697, 10.3790, 32.3345)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56529B #979B52
analogous
#52739B #56529B #7B529B
triadic
#56529B #9B5652 #529B56
tetradic
#56529B #9B5273 #979B52 #529B7B
square
#56529B #9B5273 #979B52 #529B7B
split-complementary
#56529B #9B7B52 #739B52
monochromatic
#2A284B #403D73 #56529B #7874B6 #9F9DCB

Accessibility & contrast

On white

6.83
#56529B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #56529B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56529B#FFFFFF#000000##FFFFFF
##56529B1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9E
Deuteranopia (green-blind)
#325899
Tritanopia (blue-blind)
#40616F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #56529b;
/* rgb */ color: rgb(86, 82, 155);
/* oklch */ color: oklch(47.8% 0.115 283.6);
Tailwind
colors: {
  custom: {
    50: '#8982b9',
    500: '#56529b',
    950: '#000000',
  },
}
SCSS
$custom: #56529b;
$custom-light: #8982b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56529b",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 243.288,
    "s": 30.802,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47827,
    "c": 0.11497,
    "h": 283.6
  },
  "luminance": 0.1038
}

Semantic roles & 50–950 ramp

primary
#56529B
secondary
#B6B891
accent
#C761C1
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #56529B

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

Preview Lab → · Contrast checker → · Palette generator →

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