#56529D#56529D

#56529D is a mid, moderate blue. Relative luminance 0.104; OKLCH L 48.0% C 0.118 H 283.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#56529D
RGBrgb(86, 82, 157)
HSLhsl(243, 31%, 47%)
HSVhsv(243, 48%, 62%)
CMYKcmyk(45.2%, 47.8%, 0%, 38.4%)
CIE-LABlab(38.63, 21.73, -40.46)
CIE-LCHlch(38.63, 45.92, 298.24°)
OKLaboklab(47.95% 0.0274 -0.1147)
OKLCHoklch(47.95% 0.118 283.4)
XYZxyz(12.9391, 10.4468, 33.2264)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56529D #999D52
analogous
#52749D #56529D #7C529D
triadic
#56529D #9D5652 #529D56
tetradic
#56529D #9D5274 #999D52 #529D7C
square
#56529D #9D5274 #999D52 #529D7C
split-complementary
#56529D #9D7C52 #749D52
monochromatic
#2A284D #403D75 #56529D #7975B7 #A09DCC

Accessibility & contrast

On white

6.80
#56529D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#56529D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56529D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56529D#FFFFFF#000000##FFFFFF
##56529D1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345DA0
Deuteranopia (green-blind)
#30599B
Tritanopia (blue-blind)
#3F6270
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #56529d;
/* rgb */ color: rgb(86, 82, 157);
/* oklch */ color: oklch(48.0% 0.118 283.4);
Tailwind
colors: {
  custom: {
    50: '#8a82ba',
    500: '#56529d',
    950: '#000000',
  },
}
SCSS
$custom: #56529d;
$custom-light: #8a82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#56529d",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 243.2,
    "s": 31.381,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47954,
    "c": 0.11791,
    "h": 283.4
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#56529D
secondary
#B7B992
accent
#C860C2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #56529D

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

Preview Lab → · Contrast checker → · Palette generator →

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