#56589B#56589B

#56589B is a mid, moderate blue. Relative luminance 0.113; OKLCH L 49.0% C 0.106 H 280.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#56589B
RGBrgb(86, 88, 155)
HSLhsl(238, 29%, 47%)
HSVhsv(238, 45%, 61%)
CMYKcmyk(44.5%, 43.2%, 0%, 39.2%)
CIE-LABlab(40.12, 17.31, -36.89)
CIE-LCHlch(40.12, 40.75, 295.13°)
OKLaboklab(49.05% 0.0192 -0.1042)
OKLCHoklch(49.05% 0.106 280.4)
XYZxyz(13.2421, 11.3238, 32.4920)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56589B #9B9956
analogous
#567B9B #56589B #77569B
triadic
#56589B #9B5658 #589B56
tetradic
#56589B #9B567B #9B9956 #569B77
square
#56589B #9B567B #9B9956 #569B77
split-complementary
#56589B #9B7756 #7B9B56
monochromatic
#2A2B4C #404274 #56589B #797BB5 #A1A2CB

Accessibility & contrast

On white

6.43
#56589B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#56589B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56589B
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56589B#FFFFFF#000000##FFFFFF
##56589B1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F619E
Deuteranopia (green-blind)
#3B5C99
Tritanopia (blue-blind)
#406672
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #56589b;
/* rgb */ color: rgb(86, 88, 155);
/* oklch */ color: oklch(49.0% 0.106 280.4);
Tailwind
colors: {
  custom: {
    50: '#8987b9',
    500: '#56589b',
    950: '#000000',
  },
}
SCSS
$custom: #56589b;
$custom-light: #8987b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56589b",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 155
  },
  "hsl": {
    "h": 238.261,
    "s": 28.631,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49046,
    "c": 0.10598,
    "h": 280.4
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

primary
#56589B
secondary
#B8B795
accent
#C263C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #56589B

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

Preview Lab → · Contrast checker → · Palette generator →

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