#56579D#56579D

#56579D is a mid, moderate blue. Relative luminance 0.112; OKLCH L 49.0% C 0.110 H 280.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#56579D
RGBrgb(86, 87, 157)
HSLhsl(239, 29%, 48%)
HSVhsv(239, 45%, 62%)
CMYKcmyk(45.2%, 44.6%, 0%, 38.4%)
CIE-LABlab(39.96, 18.56, -38.34)
CIE-LCHlch(39.96, 42.59, 295.83°)
OKLaboklab(48.96% 0.0209 -0.1085)
OKLCHoklch(48.96% 0.11 280.9)
XYZxyz(13.3299, 11.2285, 33.3567)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56579D #9D9C56
analogous
#567A9D #56579D #78569D
triadic
#56579D #9D5657 #579D56
tetradic
#56579D #9D567A #9D9C56 #569D78
square
#56579D #9D567A #9D9C56 #569D78
split-complementary
#56579D #9D7856 #7A9D56
monochromatic
#2B2B4E #404175 #56579D #7A7BB6 #A2A2CC

Accessibility & contrast

On white

6.47
#56579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#56579D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56579D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56579D#FFFFFF#000000##FFFFFF
##56579D1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C61A0
Deuteranopia (green-blind)
#385C9B
Tritanopia (blue-blind)
#3F6572
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #56579d;
/* rgb */ color: rgb(86, 87, 157);
/* oklch */ color: oklch(49.0% 0.110 280.9);
Tailwind
colors: {
  custom: {
    50: '#8986ba',
    500: '#56579d',
    950: '#000000',
  },
}
SCSS
$custom: #56579d;
$custom-light: #8986ba;
$custom-dark: #000000;
JSON
{
  "hex": "#56579d",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 239.155,
    "s": 29.218,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48962,
    "c": 0.11045,
    "h": 280.9
  },
  "luminance": 0.11229
}

Semantic roles & 50–950 ramp

primary
#56579D
secondary
#B9B995
accent
#C462C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #56579D

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

Preview Lab → · Contrast checker → · Palette generator →

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