#5A666A#5A666A

#5A666A is a mid, near-neutral cyan. Relative luminance 0.127; OKLCH L 50.1% C 0.016 H 219.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5A666A
RGBrgb(90, 102, 106)
HSLhsl(195, 8%, 38%)
HSVhsv(195, 15%, 42%)
CMYKcmyk(15.1%, 3.8%, 0%, 58.4%)
CIE-LABlab(42.33, -3.65, -3.80)
CIE-LCHlch(42.33, 5.27, 226.22°)
OKLaboklab(50.15% -0.0123 -0.0103)
OKLCHoklch(50.15% 0.016 219.8)
XYZxyz(11.5687, 12.7168, 15.4779)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A666A #6A5E5A
analogous
#5A6A66 #5A666A #5A5E6A
triadic
#5A666A #6A5A66 #666A5A
tetradic
#5A666A #665A6A #6A5E5A #5E6A5A
square
#5A666A #665A6A #6A5E5A #5E6A5A
split-complementary
#5A666A #6A5A5E #6A665A
monochromatic
#222628 #3E4649 #5A666A #76868B #97A3A7

Accessibility & contrast

On white

5.93
#5A666A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5A666A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A666A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A666A#FFFFFF#000000##FFFFFF
##5A666A1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63656A
Deuteranopia (green-blind)
#61636A
Tritanopia (blue-blind)
#566767
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a666a;
/* rgb */ color: rgb(90, 102, 106);
/* oklch */ color: oklch(50.1% 0.016 219.8);
Tailwind
colors: {
  custom: {
    50: '#889194',
    500: '#5a666a',
    950: '#000000',
  },
}
SCSS
$custom: #5a666a;
$custom-light: #889194;
$custom-dark: #000000;
JSON
{
  "hex": "#5a666a",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 106
  },
  "hsl": {
    "h": 195,
    "s": 8.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.01605,
    "h": 219.8
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#5A666A
secondary
#968D8A
accent
#8577B1
background
#F8F8F9
surface
#F0F0F1
border
#CBCBCB
text
#0B0C0D
muted
#7C7D7E

Preview Lab

Preview with #5A666A

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

Preview Lab → · Contrast checker → · Palette generator →

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