#5B6180#5B6180

#5B6180 is a mid, muted blue. Relative luminance 0.123; OKLCH L 50.0% C 0.050 H 275.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5B6180
RGBrgb(91, 97, 128)
HSLhsl(230, 17%, 43%)
HSVhsv(230, 29%, 50%)
CMYKcmyk(28.9%, 24.2%, 0%, 49.8%)
CIE-LABlab(41.74, 5.29, -18.06)
CIE-LCHlch(41.74, 18.82, 286.33°)
OKLaboklab(49.97% 0.0052 -0.0498)
OKLCHoklch(49.97% 0.05 275.9)
XYZxyz(12.4843, 12.3317, 22.1404)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6180 #807A5B
analogous
#5B7380 #5B6180 #675B80
triadic
#5B6180 #805B61 #61805B
tetradic
#5B6180 #805B73 #807A5B #5B8067
square
#5B6180 #805B73 #807A5B #5B8067
split-complementary
#5B6180 #80675B #73805B
monochromatic
#282B38 #42465C #5B6180 #797FA0 #9CA1B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6180#FFFFFF#000000##FFFFFF
##5B61801.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)
#586481
Deuteranopia (green-blind)
#56617F
Tritanopia (blue-blind)
#52676C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b6180;
/* rgb */ color: rgb(91, 97, 128);
/* oklch */ color: oklch(50.0% 0.050 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a8da5',
    500: '#5b6180',
    950: '#000000',
  },
}
SCSS
$custom: #5b6180;
$custom-light: #8a8da5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6180",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 128
  },
  "hsl": {
    "h": 230.27,
    "s": 16.895,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49965,
    "c": 0.05004,
    "h": 275.9
  },
  "luminance": 0.12332
}

Semantic roles & 50–950 ramp

primary
#5B6180
secondary
#A7A390
accent
#AD6EBA
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C0F
muted
#7D7D7F

Preview Lab

Preview with #5B6180

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

Preview Lab → · Contrast checker → · Palette generator →

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