#5A666C#5A666C

#5A666C is a mid, near-neutral cyan. Relative luminance 0.128; OKLCH L 50.2% C 0.018 H 229.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5A666C
RGBrgb(90, 102, 108)
HSLhsl(200, 9%, 39%)
HSVhsv(200, 17%, 42%)
CMYKcmyk(16.7%, 5.6%, 0%, 57.6%)
CIE-LABlab(42.40, -3.17, -4.92)
CIE-LCHlch(42.40, 5.86, 237.20°)
OKLaboklab(50.22% -0.0115 -0.0133)
OKLCHoklch(50.22% 0.018 229.3)
XYZxyz(11.6739, 12.7588, 16.0321)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A666C #6C605A
analogous
#5A6C69 #5A666C #5A5D6C
triadic
#5A666C #6C5A66 #666C5A
tetradic
#5A666C #695A6C #6C605A #5D6C5A
square
#5A666C #695A6C #6C605A #5D6C5A
split-complementary
#5A666C #6C5A5D #6C695A
monochromatic
#222729 #3E464B #5A666C #76858D #98A3A9

Accessibility & contrast

On white

5.91
#5A666C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5A666C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A666C
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A666C#FFFFFF#000000##FFFFFF
##5A666C1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63656C
Deuteranopia (green-blind)
#60636C
Tritanopia (blue-blind)
#556868
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a666c;
/* rgb */ color: rgb(90, 102, 108);
/* oklch */ color: oklch(50.2% 0.018 229.3);
Tailwind
colors: {
  custom: {
    50: '#889196',
    500: '#5a666c',
    950: '#000000',
  },
}
SCSS
$custom: #5a666c;
$custom-light: #889196;
$custom-dark: #000000;
JSON
{
  "hex": "#5a666c",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 108
  },
  "hsl": {
    "h": 200,
    "s": 9.091,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50219,
    "c": 0.01756,
    "h": 229.3
  },
  "luminance": 0.12759
}

Semantic roles & 50–950 ramp

primary
#5A666C
secondary
#988F8A
accent
#8A76B2
background
#F8F8F9
surface
#F0F0F1
border
#CBCBCB
text
#0B0C0D
muted
#7C7D7E

Preview Lab

Preview with #5A666C

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

Preview Lab → · Contrast checker → · Palette generator →

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