#56579A#56579A

#56579A is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.8% C 0.106 H 281.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#56579A
RGBrgb(86, 87, 154)
HSLhsl(239, 28%, 47%)
HSVhsv(239, 44%, 60%)
CMYKcmyk(44.2%, 43.5%, 0%, 39.6%)
CIE-LABlab(39.79, 17.63, -36.81)
CIE-LCHlch(39.79, 40.81, 295.59°)
OKLaboklab(48.78% 0.0204 -0.104)
OKLCHoklch(48.78% 0.106 281.1)
XYZxyz(13.0770, 11.1273, 32.0243)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56579A #9A9956
analogous
#56799A #56579A #77569A
triadic
#56579A #9A5657 #579A56
tetradic
#56579A #9A5679 #9A9956 #569A77
square
#56579A #9A5679 #9A9956 #569A77
split-complementary
#56579A #9A7756 #799A56
monochromatic
#2A2B4B #404173 #56579A #797AB4 #A0A1CA

Accessibility & contrast

On white

6.51
#56579A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #56579A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56579A#FFFFFF#000000##FFFFFF
##56579A1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E609D
Deuteranopia (green-blind)
#3A5B98
Tritanopia (blue-blind)
#406571
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #56579a;
/* rgb */ color: rgb(86, 87, 154);
/* oklch */ color: oklch(48.8% 0.106 281.1);
Tailwind
colors: {
  custom: {
    50: '#8986b8',
    500: '#56579a',
    950: '#000000',
  },
}
SCSS
$custom: #56579a;
$custom-light: #8986b8;
$custom-dark: #000000;
JSON
{
  "hex": "#56579a",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 239.118,
    "s": 28.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48779,
    "c": 0.10596,
    "h": 281.1
  },
  "luminance": 0.11128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #56579A

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

Preview Lab → · Contrast checker → · Palette generator →

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