#5F718B#5F718B

#5F718B is a mid, muted blue. Relative luminance 0.161; OKLCH L 54.4% C 0.046 H 257.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5F718B
RGBrgb(95, 113, 139)
HSLhsl(215, 19%, 46%)
HSVhsv(215, 32%, 55%)
CMYKcmyk(31.7%, 18.7%, 0%, 45.5%)
CIE-LABlab(47.11, -0.15, -16.40)
CIE-LCHlch(47.11, 16.41, 269.47°)
OKLaboklab(54.39% -0.01 -0.0451)
OKLCHoklch(54.39% 0.046 257.5)
XYZxyz(15.2833, 16.1066, 26.7247)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F718B #8B795F
analogous
#5F878B #5F718B #635F8B
triadic
#5F718B #8B5F71 #718B5F
tetradic
#5F718B #8B5F87 #8B795F #5F8B63
square
#5F718B #8B5F87 #8B795F #5F8B63
split-complementary
#5F718B #8B635F #878B5F
monochromatic
#2D3642 #465367 #5F718B #7F90A8 #A4B0C1

Accessibility & contrast

On white

4.97
#5F718B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5F718B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F718B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F718B#FFFFFF#000000##FFFFFF
##5F718B1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68728C
Deuteranopia (green-blind)
#636E8A
Tritanopia (blue-blind)
#52777A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f718b;
/* rgb */ color: rgb(95, 113, 139);
/* oklch */ color: oklch(54.4% 0.046 257.5);
Tailwind
colors: {
  custom: {
    50: '#8d99ad',
    500: '#5f718b',
    950: '#000000',
  },
}
SCSS
$custom: #5f718b;
$custom-light: #8d99ad;
$custom-dark: #000000;
JSON
{
  "hex": "#5f718b",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 139
  },
  "hsl": {
    "h": 215.455,
    "s": 18.803,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54386,
    "c": 0.0462,
    "h": 257.5
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#5F718B
secondary
#AFA597
accent
#9B6CBB
background
#F8F9FA
surface
#F0F2F4
border
#CBCCCE
text
#0C0E10
muted
#7D7E7F

Preview Lab

Preview with #5F718B

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

Preview Lab → · Contrast checker → · Palette generator →

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