#5A666E#5A666E

#5A666E is a mid, near-neutral cyan. Relative luminance 0.128; OKLCH L 50.3% C 0.019 H 237.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5A666E
RGBrgb(90, 102, 110)
HSLhsl(204, 10%, 39%)
HSVhsv(204, 18%, 43%)
CMYKcmyk(18.2%, 7.3%, 0%, 56.9%)
CIE-LABlab(42.46, -2.69, -6.04)
CIE-LCHlch(42.46, 6.62, 245.96°)
OKLaboklab(50.29% -0.0106 -0.0163)
OKLCHoklch(50.29% 0.019 237)
XYZxyz(11.7816, 12.8019, 16.5991)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A666E #6E625A
analogous
#5A6E6C #5A666E #5A5C6E
triadic
#5A666E #6E5A66 #666E5A
tetradic
#5A666E #6C5A6E #6E625A #5C6E5A
square
#5A666E #6C5A6E #6E625A #5C6E5A
split-complementary
#5A666E #6E5A5C #6E6C5A
monochromatic
#23282B #3E474C #5A666E #76858F #98A3AB

Accessibility & contrast

On white

5.90
#5A666E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5A666E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A666E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A666E#FFFFFF#000000##FFFFFF
##5A666E1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a666e;
/* rgb */ color: rgb(90, 102, 110);
/* oklch */ color: oklch(50.3% 0.019 237.0);
Tailwind
colors: {
  custom: {
    50: '#899197',
    500: '#5a666e',
    950: '#000000',
  },
}
SCSS
$custom: #5a666e;
$custom-light: #899197;
$custom-dark: #000000;
JSON
{
  "hex": "#5a666e",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 110
  },
  "hsl": {
    "h": 204,
    "s": 10,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50292,
    "c": 0.01949,
    "h": 237
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#5A666E
secondary
#9A908A
accent
#8E75B3
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0B0C0D
muted
#7C7D7E

Preview Lab

Preview with #5A666E

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

Preview Lab → · Contrast checker → · Palette generator →

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