#56529F#56529F

#56529F is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.121 H 283.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#56529F
RGBrgb(86, 82, 159)
HSLhsl(243, 32%, 47%)
HSVhsv(243, 48%, 62%)
CMYKcmyk(45.9%, 48.4%, 0%, 37.6%)
CIE-LABlab(38.75, 22.35, -41.46)
CIE-LCHlch(38.75, 47.10, 298.32°)
OKLaboklab(48.08% 0.0276 -0.1176)
OKLCHoklch(48.08% 0.121 283.2)
XYZxyz(13.1112, 10.5156, 34.1330)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56529F #9B9F52
analogous
#52759F #56529F #7D529F
triadic
#56529F #9F5652 #529F56
tetradic
#56529F #9F5275 #9B9F52 #529F7D
square
#56529F #9F5275 #9B9F52 #529F7D
split-complementary
#56529F #9F7D52 #759F52
monochromatic
#2A284E #403D77 #56529F #7976B8 #A19ECD

Accessibility & contrast

On white

6.77
#56529F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#56529F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56529F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56529F#FFFFFF#000000##FFFFFF
##56529F1.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)
#325EA2
Deuteranopia (green-blind)
#2E599D
Tritanopia (blue-blind)
#3E6271
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #56529f;
/* rgb */ color: rgb(86, 82, 159);
/* oklch */ color: oklch(48.1% 0.121 283.2);
Tailwind
colors: {
  custom: {
    50: '#8a82bc',
    500: '#56529f',
    950: '#000000',
  },
}
SCSS
$custom: #56529f;
$custom-light: #8a82bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56529f",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 243.117,
    "s": 31.95,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48084,
    "c": 0.12084,
    "h": 283.2
  },
  "luminance": 0.10516
}

Semantic roles & 50–950 ramp

primary
#56529F
secondary
#B8BA93
accent
#C860C3
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #56529F

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

Preview Lab → · Contrast checker → · Palette generator →

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