#56578F#56578F

#56578F is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.1% C 0.089 H 281.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#56578F
RGBrgb(86, 87, 143)
HSLhsl(239, 25%, 45%)
HSVhsv(239, 40%, 56%)
CMYKcmyk(39.9%, 39.2%, 0%, 43.9%)
CIE-LABlab(39.20, 14.29, -31.12)
CIE-LCHlch(39.20, 34.24, 294.67°)
OKLaboklab(48.14% 0.0181 -0.0874)
OKLCHoklch(48.14% 0.089 281.7)
XYZxyz(12.2025, 10.7775, 27.4186)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56578F #8F8E56
analogous
#56748F #56578F #71568F
triadic
#56578F #8F5657 #578F56
tetradic
#56578F #8F5674 #8F8E56 #568F71
square
#56578F #8F5674 #8F8E56 #568F71
split-complementary
#56578F #8F7156 #748F56
monochromatic
#282843 #3F4069 #56578F #7677AC #9C9DC3

Accessibility & contrast

On white

6.65
#56578F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#56578F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56578F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56578F#FFFFFF#000000##FFFFFF
##56578F1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#415A8E
Tritanopia (blue-blind)
#46626C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #56578f;
/* rgb */ color: rgb(86, 87, 143);
/* oklch */ color: oklch(48.1% 0.089 281.7);
Tailwind
colors: {
  custom: {
    50: '#8886b0',
    500: '#56578f',
    950: '#000000',
  },
}
SCSS
$custom: #56578f;
$custom-light: #8886b0;
$custom-dark: #000000;
JSON
{
  "hex": "#56578f",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 143
  },
  "hsl": {
    "h": 238.947,
    "s": 24.891,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48135,
    "c": 0.08926,
    "h": 281.7
  },
  "luminance": 0.10778
}

Semantic roles & 50–950 ramp

primary
#56578F
secondary
#B1B090
accent
#C066C1
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #56578F

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

Preview Lab → · Contrast checker → · Palette generator →

#56578F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva