#5F7980#5F7980

#5F7980 is a mid, muted cyan. Relative luminance 0.177; OKLCH L 55.8% C 0.032 H 216.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5F7980
RGBrgb(95, 121, 128)
HSLhsl(193, 15%, 44%)
HSVhsv(193, 26%, 50%)
CMYKcmyk(25.8%, 5.5%, 0%, 49.8%)
CIE-LABlab(49.09, -7.66, -6.91)
CIE-LCHlch(49.09, 10.32, 222.06°)
OKLaboklab(55.82% -0.0259 -0.0188)
OKLCHoklch(55.82% 0.032 216)
XYZxyz(15.4518, 17.6655, 23.0135)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7980 #80665F
analogous
#5F8076 #5F7980 #5F6880
triadic
#5F7980 #805F79 #79805F
tetradic
#5F7980 #765F80 #80665F #68805F
square
#5F7980 #765F80 #80665F #68805F
split-complementary
#5F7980 #805F68 #80765F
monochromatic
#2B373A #45585D #5F7980 #7D989F #A1B4B9

Accessibility & contrast

On white

4.63
#5F7980 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5F7980 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7980
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7980#FFFFFF#000000##FFFFFF
##5F79801.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747780
Deuteranopia (green-blind)
#6E7380
Tritanopia (blue-blind)
#557C7B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f7980;
/* rgb */ color: rgb(95, 121, 128);
/* oklch */ color: oklch(55.8% 0.032 216.0);
Tailwind
colors: {
  custom: {
    50: '#8d9fa4',
    500: '#5f7980',
    950: '#000000',
  },
}
SCSS
$custom: #5f7980;
$custom-light: #8d9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7980",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 128
  },
  "hsl": {
    "h": 192.727,
    "s": 14.798,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55815,
    "c": 0.03202,
    "h": 216
  },
  "luminance": 0.17666
}

Semantic roles & 50–950 ramp

primary
#5F7980
secondary
#A89893
accent
#7F70B8
background
#F8F9FA
surface
#F0F2F4
border
#CBCCCE
text
#0C0E0F
muted
#7D7E7F

Preview Lab

Preview with #5F7980

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

Preview Lab → · Contrast checker → · Palette generator →

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