#56579E#56579E

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

Color values

HEX#56579E
RGBrgb(86, 87, 158)
HSLhsl(239, 30%, 48%)
HSVhsv(239, 46%, 62%)
CMYKcmyk(45.6%, 44.9%, 0%, 38%)
CIE-LABlab(40.02, 18.87, -38.85)
CIE-LCHlch(40.02, 43.19, 295.91°)
OKLaboklab(49.02% 0.021 -0.1099)
OKLCHoklch(49.02% 0.112 280.8)
XYZxyz(13.4157, 11.2628, 33.8082)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56579E #9E9D56
analogous
#567B9E #56579E #79569E
triadic
#56579E #9E5657 #579E56
tetradic
#56579E #9E567B #9E9D56 #569E79
square
#56579E #9E567B #9E9D56 #569E79
split-complementary
#56579E #9E7956 #7B9E56
monochromatic
#2B2B4F #404176 #56579E #7A7BB7 #A2A3CC

Accessibility & contrast

On white

6.46
#56579E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #56579E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56579E#FFFFFF#000000##FFFFFF
##56579E1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B61A1
Deuteranopia (green-blind)
#375C9C
Tritanopia (blue-blind)
#3E6673
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #56579e;
/* rgb */ color: rgb(86, 87, 158);
/* oklch */ color: oklch(49.0% 0.112 280.8);
Tailwind
colors: {
  custom: {
    50: '#8a86bb',
    500: '#56579e',
    950: '#000000',
  },
}
SCSS
$custom: #56579e;
$custom-light: #8a86bb;
$custom-dark: #000000;
JSON
{
  "hex": "#56579e",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 239.167,
    "s": 29.508,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49024,
    "c": 0.11194,
    "h": 280.8
  },
  "luminance": 0.11263
}

Semantic roles & 50–950 ramp

primary
#56579E
secondary
#BAB996
accent
#C462C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #56579E

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

Preview Lab → · Contrast checker → · Palette generator →

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