#56589E#56589E

#56589E is a mid, moderate blue. Relative luminance 0.114; OKLCH L 49.2% C 0.110 H 280.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#56589E
RGBrgb(86, 88, 158)
HSLhsl(238, 30%, 48%)
HSVhsv(238, 46%, 62%)
CMYKcmyk(45.6%, 44.3%, 0%, 38%)
CIE-LABlab(40.29, 18.23, -38.42)
CIE-LCHlch(40.29, 42.53, 295.39°)
OKLaboklab(49.23% 0.0197 -0.1087)
OKLCHoklch(49.23% 0.11 280.3)
XYZxyz(13.4972, 11.4259, 33.8354)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56589E #9E9C56
analogous
#567C9E #56589E #78569E
triadic
#56589E #9E5658 #589E56
tetradic
#56589E #9E567C #9E9C56 #569E78
square
#56589E #9E567C #9E9C56 #569E78
split-complementary
#56589E #9E7856 #7C9E56
monochromatic
#2B2C4F #404276 #56589E #7A7CB7 #A2A3CC

Accessibility & contrast

On white

6.39
#56589E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#56589E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56589E
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56589E#FFFFFF#000000##FFFFFF
##56589E1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D62A1
Deuteranopia (green-blind)
#385C9C
Tritanopia (blue-blind)
#3E6673
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #56589e;
/* rgb */ color: rgb(86, 88, 158);
/* oklch */ color: oklch(49.2% 0.110 280.3);
Tailwind
colors: {
  custom: {
    50: '#8a87bb',
    500: '#56589e',
    950: '#000000',
  },
}
SCSS
$custom: #56589e;
$custom-light: #8a87bb;
$custom-dark: #000000;
JSON
{
  "hex": "#56589e",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 158
  },
  "hsl": {
    "h": 238.333,
    "s": 29.508,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49228,
    "c": 0.11047,
    "h": 280.3
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #56589E

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

Preview Lab → · Contrast checker → · Palette generator →

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