#5A6771#5A6771

#5A6771 is a mid, muted cyan. Relative luminance 0.131; OKLCH L 50.6% C 0.022 H 241.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5A6771
RGBrgb(90, 103, 113)
HSLhsl(206, 11%, 40%)
HSVhsv(206, 20%, 44%)
CMYKcmyk(20.4%, 8.8%, 0%, 55.7%)
CIE-LABlab(42.86, -2.56, -7.27)
CIE-LCHlch(42.86, 7.71, 250.58°)
OKLaboklab(50.64% -0.0109 -0.0197)
OKLCHoklch(50.64% 0.023 241.1)
XYZxyz(12.0466, 13.0661, 17.5069)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6771 #71645A
analogous
#5A7170 #5A6771 #5A5C71
triadic
#5A6771 #715A67 #67715A
tetradic
#5A6771 #705A71 #71645A #5C715A
square
#5A6771 #705A71 #71645A #5C715A
split-complementary
#5A6771 #715A5C #71705A
monochromatic
#24292D #3F484F #5A6771 #768692 #98A4AD

Accessibility & contrast

On white

5.81
#5A6771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5A6771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6771
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6771#FFFFFF#000000##FFFFFF
##5A67711.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636772
Deuteranopia (green-blind)
#606471
Tritanopia (blue-blind)
#54696A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a6771;
/* rgb */ color: rgb(90, 103, 113);
/* oklch */ color: oklch(50.6% 0.022 241.1);
Tailwind
colors: {
  custom: {
    50: '#899299',
    500: '#5a6771',
    950: '#000000',
  },
}
SCSS
$custom: #5a6771;
$custom-light: #899299;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6771",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 113
  },
  "hsl": {
    "h": 206.087,
    "s": 11.33,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5064,
    "c": 0.0225,
    "h": 241.1
  },
  "luminance": 0.13066
}

Semantic roles & 50–950 ramp

primary
#5A6771
secondary
#9C928B
accent
#9074B4
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0B0D0E
muted
#7C7D7E

Preview Lab

Preview with #5A6771

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

Preview Lab → · Contrast checker → · Palette generator →

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