#5A6872#5A6872

#5A6872 is a mid, muted cyan. Relative luminance 0.133; OKLCH L 50.9% C 0.023 H 239.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5A6872
RGBrgb(90, 104, 114)
HSLhsl(205, 12%, 40%)
HSVhsv(205, 21%, 45%)
CMYKcmyk(21.1%, 8.8%, 0%, 55.3%)
CIE-LABlab(43.20, -2.91, -7.38)
CIE-LCHlch(43.20, 7.93, 248.46°)
OKLaboklab(50.91% -0.012 -0.02)
OKLCHoklch(50.91% 0.023 239)
XYZxyz(12.2032, 13.2889, 17.8384)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6872 #72645A
analogous
#5A7270 #5A6872 #5A5C72
triadic
#5A6872 #725A68 #68725A
tetradic
#5A6872 #705A72 #72645A #5C725A
square
#5A6872 #705A72 #72645A #5C725A
split-complementary
#5A6872 #725A5C #72705A
monochromatic
#242A2E #3F4950 #5A6872 #768793 #98A5AE

Accessibility & contrast

On white

5.74
#5A6872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5A6872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6872
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6872#FFFFFF#000000##FFFFFF
##5A68721.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646873
Deuteranopia (green-blind)
#616572
Tritanopia (blue-blind)
#546B6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a6872;
/* rgb */ color: rgb(90, 104, 114);
/* oklch */ color: oklch(50.9% 0.023 239.0);
Tailwind
colors: {
  custom: {
    50: '#89939a',
    500: '#5a6872',
    950: '#000000',
  },
}
SCSS
$custom: #5a6872;
$custom-light: #89939a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6872",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 114
  },
  "hsl": {
    "h": 205,
    "s": 11.765,
    "l": 40
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.02333,
    "h": 239
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#5A6872
secondary
#9D928B
accent
#8E73B5
background
#F8F9F9
surface
#F0F1F2
border
#CBCBCC
text
#0B0D0E
muted
#7C7E7E

Preview Lab

Preview with #5A6872

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

Preview Lab → · Contrast checker → · Palette generator →

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