#5A646C#5A646C

#5A646C is a mid, near-neutral cyan. Relative luminance 0.124; OKLCH L 49.7% C 0.018 H 242.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5A646C
RGBrgb(90, 100, 108)
HSLhsl(207, 9%, 39%)
HSVhsv(207, 17%, 42%)
CMYKcmyk(16.7%, 7.4%, 0%, 57.6%)
CIE-LABlab(41.80, -1.98, -5.81)
CIE-LCHlch(41.80, 6.14, 251.20°)
OKLaboklab(49.75% -0.0083 -0.0157)
OKLCHoklch(49.75% 0.018 242)
XYZxyz(11.4797, 12.3705, 15.9674)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A646C #6C625A
analogous
#5A6C6B #5A646C #5A5B6C
triadic
#5A646C #6C5A64 #646C5A
tetradic
#5A646C #6B5A6C #6C625A #5B6C5A
square
#5A646C #6B5A6C #6C625A #5B6C5A
split-complementary
#5A646C #6C5A5B #6C6B5A
monochromatic
#222629 #3E454B #5A646C #76838D #98A1A9

Accessibility & contrast

On white

6.04
#5A646C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5A646C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A646C
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A646C#FFFFFF#000000##FFFFFF
##5A646C1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61646C
Deuteranopia (green-blind)
#5E626C
Tritanopia (blue-blind)
#556666
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a646c;
/* rgb */ color: rgb(90, 100, 108);
/* oklch */ color: oklch(49.7% 0.018 242.0);
Tailwind
colors: {
  custom: {
    50: '#889096',
    500: '#5a646c',
    950: '#000000',
  },
}
SCSS
$custom: #5a646c;
$custom-light: #889096;
$custom-dark: #000000;
JSON
{
  "hex": "#5a646c",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 108
  },
  "hsl": {
    "h": 206.667,
    "s": 9.091,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49747,
    "c": 0.01779,
    "h": 242
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#5A646C
secondary
#98908A
accent
#9176B2
background
#F8F8F9
surface
#F0F0F1
border
#CBCBCB
text
#0B0C0D
muted
#7C7D7E

Preview Lab

Preview with #5A646C

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

Preview Lab → · Contrast checker → · Palette generator →

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