#56579C#56579C

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

Color values

HEX#56579C
RGBrgb(86, 87, 156)
HSLhsl(239, 29%, 47%)
HSVhsv(239, 45%, 61%)
CMYKcmyk(44.9%, 44.2%, 0%, 38.8%)
CIE-LABlab(39.91, 18.25, -37.83)
CIE-LCHlch(39.91, 42.00, 295.75°)
OKLaboklab(48.9% 0.0207 -0.107)
OKLCHoklch(48.9% 0.109 281)
XYZxyz(13.2449, 11.1945, 32.9089)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56579C #9C9B56
analogous
#567A9C #56579C #78569C
triadic
#56579C #9C5657 #579C56
tetradic
#56579C #9C567A #9C9B56 #569C78
square
#56579C #9C567A #9C9B56 #569C78
split-complementary
#56579C #9C7856 #7A9C56
monochromatic
#2B2B4D #404175 #56579C #7A7BB6 #A1A2CB

Accessibility & contrast

On white

6.48
#56579C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#56579C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56579C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56579C#FFFFFF#000000##FFFFFF
##56579C1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D619F
Deuteranopia (green-blind)
#395C9A
Tritanopia (blue-blind)
#3F6572
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #56579c;
/* rgb */ color: rgb(86, 87, 156);
/* oklch */ color: oklch(48.9% 0.109 281.0);
Tailwind
colors: {
  custom: {
    50: '#8986b9',
    500: '#56579c',
    950: '#000000',
  },
}
SCSS
$custom: #56579c;
$custom-light: #8986b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56579c",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 239.143,
    "s": 28.926,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48901,
    "c": 0.10895,
    "h": 281
  },
  "luminance": 0.11195
}

Semantic roles & 50–950 ramp

primary
#56579C
secondary
#B9B895
accent
#C463C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #56579C

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

Preview Lab → · Contrast checker → · Palette generator →

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