#56587F#56587F

#56587F is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.5% C 0.063 H 281.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#56587F
RGBrgb(86, 88, 127)
HSLhsl(237, 19%, 42%)
HSVhsv(237, 32%, 50%)
CMYKcmyk(32.3%, 30.7%, 0%, 50.2%)
CIE-LABlab(38.71, 9.01, -22.16)
CIE-LCHlch(38.71, 23.92, 292.12°)
OKLaboklab(47.5% 0.0125 -0.0615)
OKLCHoklch(47.5% 0.063 281.5)
XYZxyz(11.1572, 10.4899, 21.5115)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56587F #7F7D56
analogous
#566D7F #56587F #69567F
triadic
#56587F #7F5658 #587F56
tetradic
#56587F #7F566D #7F7D56 #567F69
square
#56587F #7F566D #7F7D56 #567F69
split-complementary
#56587F #7F6956 #6D7F56
monochromatic
#252536 #3D3F5B #56587F #7275A0 #9799B9

Accessibility & contrast

On white

6.78
#56587F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#56587F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56587F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56587F#FFFFFF#000000##FFFFFF
##56587F1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#4B5A7E
Tritanopia (blue-blind)
#4C5F66
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #56587f;
/* rgb */ color: rgb(86, 88, 127);
/* oklch */ color: oklch(47.5% 0.063 281.5);
Tailwind
colors: {
  custom: {
    50: '#8787a4',
    500: '#56587f',
    950: '#000000',
  },
}
SCSS
$custom: #56587f;
$custom-light: #8787a4;
$custom-dark: #000000;
JSON
{
  "hex": "#56587f",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 237.073,
    "s": 19.249,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47499,
    "c": 0.06277,
    "h": 281.5
  },
  "luminance": 0.1049
}

Semantic roles & 50–950 ramp

primary
#56587F
secondary
#A6A58B
accent
#B86CBC
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #56587F

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

Preview Lab → · Contrast checker → · Palette generator →

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