#5B6087#5B6087

#5B6087 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.1% C 0.062 H 278.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5B6087
RGBrgb(91, 96, 135)
HSLhsl(233, 19%, 44%)
HSVhsv(233, 33%, 53%)
CMYKcmyk(32.6%, 28.9%, 0%, 47.1%)
CIE-LABlab(41.75, 7.83, -22.28)
CIE-LCHlch(41.75, 23.61, 289.36°)
OKLaboklab(50.07% 0.009 -0.0618)
OKLCHoklch(50.07% 0.062 278.3)
XYZxyz(12.8692, 12.3388, 24.6205)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6087 #87825B
analogous
#5B7687 #5B6087 #6C5B87
triadic
#5B6087 #875B60 #60875B
tetradic
#5B6087 #875B76 #87825B #5B876C
square
#5B6087 #875B76 #87825B #5B876C
split-complementary
#5B6087 #876C5B #76875B
monochromatic
#2A2C3E #424662 #5B6087 #7A7FA5 #9EA2BE

Accessibility & contrast

On white

6.06
#5B6087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5B6087 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6087
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6087#FFFFFF#000000##FFFFFF
##5B60871.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546489
Deuteranopia (green-blind)
#526186
Tritanopia (blue-blind)
#4F676E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b6087;
/* rgb */ color: rgb(91, 96, 135);
/* oklch */ color: oklch(50.1% 0.062 278.3);
Tailwind
colors: {
  custom: {
    50: '#8a8daa',
    500: '#5b6087',
    950: '#000000',
  },
}
SCSS
$custom: #5b6087;
$custom-light: #8a8daa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6087",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 135
  },
  "hsl": {
    "h": 233.182,
    "s": 19.469,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.06244,
    "h": 278.3
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#5B6087
secondary
#ACA992
accent
#B36CBC
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #5B6087

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

Preview Lab → · Contrast checker → · Palette generator →

#5B6087 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva