#5F7987#5F7987

#5F7987 is a mid, muted cyan. Relative luminance 0.179; OKLCH L 56.1% C 0.037 H 231.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5F7987
RGBrgb(95, 121, 135)
HSLhsl(201, 17%, 45%)
HSVhsv(201, 30%, 53%)
CMYKcmyk(29.6%, 10.4%, 0%, 47.1%)
CIE-LABlab(49.32, -5.89, -10.70)
CIE-LCHlch(49.32, 12.21, 241.15°)
OKLaboklab(56.08% -0.023 -0.0292)
OKLCHoklch(56.08% 0.037 231.8)
XYZxyz(15.9285, 17.8562, 25.5243)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7987 #876D5F
analogous
#5F8781 #5F7987 #5F6587
triadic
#5F7987 #875F79 #79875F
tetradic
#5F7987 #815F87 #876D5F #65875F
square
#5F7987 #815F87 #876D5F #65875F
split-complementary
#5F7987 #875F65 #87815F
monochromatic
#2C393F #465963 #5F7987 #7F97A5 #A2B4BE

Accessibility & contrast

On white

4.59
#5F7987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5F7987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7987
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7987#FFFFFF#000000##FFFFFF
##5F79871.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727888
Deuteranopia (green-blind)
#6C7387
Tritanopia (blue-blind)
#537D7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f7987;
/* rgb */ color: rgb(95, 121, 135);
/* oklch */ color: oklch(56.1% 0.037 231.8);
Tailwind
colors: {
  custom: {
    50: '#8d9faa',
    500: '#5f7987',
    950: '#000000',
  },
}
SCSS
$custom: #5f7987;
$custom-light: #8d9faa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7987",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 201,
    "s": 17.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56077,
    "c": 0.03719,
    "h": 231.8
  },
  "luminance": 0.17857
}

Semantic roles & 50–950 ramp

primary
#5F7987
secondary
#AC9D95
accent
#886EBA
background
#F8F9FA
surface
#F0F2F4
border
#CBCCCE
text
#0C0E10
muted
#7D7E7F

Preview Lab

Preview with #5F7987

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

Preview Lab → · Contrast checker → · Palette generator →

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