#56579B#56579B

#56579B is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.8% C 0.107 H 281.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#56579B
RGBrgb(86, 87, 155)
HSLhsl(239, 29%, 47%)
HSVhsv(239, 45%, 61%)
CMYKcmyk(44.5%, 43.9%, 0%, 39.2%)
CIE-LABlab(39.85, 17.94, -37.32)
CIE-LCHlch(39.85, 41.41, 295.67°)
OKLaboklab(48.84% 0.0205 -0.1055)
OKLCHoklch(48.84% 0.107 281)
XYZxyz(13.1606, 11.1608, 32.4648)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56579B #9B9A56
analogous
#567A9B #56579B #77569B
triadic
#56579B #9B5657 #579B56
tetradic
#56579B #9B567A #9B9A56 #569B77
square
#56579B #9B567A #9B9A56 #569B77
split-complementary
#56579B #9B7756 #7A9B56
monochromatic
#2A2B4C #404174 #56579B #797AB5 #A1A1CB

Accessibility & contrast

On white

6.50
#56579B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#56579B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56579B
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56579B#FFFFFF#000000##FFFFFF
##56579B1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D609E
Deuteranopia (green-blind)
#395B99
Tritanopia (blue-blind)
#406571
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #56579b;
/* rgb */ color: rgb(86, 87, 155);
/* oklch */ color: oklch(48.8% 0.107 281.0);
Tailwind
colors: {
  custom: {
    50: '#8986b9',
    500: '#56579b',
    950: '#000000',
  },
}
SCSS
$custom: #56579b;
$custom-light: #8986b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56579b",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 239.13,
    "s": 28.631,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4884,
    "c": 0.10746,
    "h": 281
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#56579B
secondary
#B8B895
accent
#C363C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #56579B

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

Preview Lab → · Contrast checker → · Palette generator →

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