#5A6876#5A6876

#5A6876 is a mid, muted cyan. Relative luminance 0.134; OKLCH L 51.1% C 0.028 H 248.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5A6876
RGBrgb(90, 104, 118)
HSLhsl(210, 13%, 41%)
HSVhsv(210, 24%, 46%)
CMYKcmyk(23.7%, 11.9%, 0%, 53.7%)
CIE-LABlab(43.33, -1.91, -9.59)
CIE-LCHlch(43.33, 9.78, 258.72°)
OKLaboklab(51.07% -0.0103 -0.0261)
OKLCHoklch(51.07% 0.028 248.4)
XYZxyz(12.4359, 13.3819, 19.0638)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6876 #76685A
analogous
#5A7676 #5A6876 #5A5A76
triadic
#5A6876 #765A68 #68765A
tetradic
#5A6876 #765A76 #76685A #5A765A
square
#5A6876 #765A76 #76685A #5A765A
split-complementary
#5A6876 #765A5A #76765A
monochromatic
#252B31 #404953 #5A6876 #768797 #99A5B1

Accessibility & contrast

On white

5.71
#5A6876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5A6876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6876
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6876#FFFFFF#000000##FFFFFF
##5A68761.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636877
Deuteranopia (green-blind)
#5F6576
Tritanopia (blue-blind)
#526B6C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a6876;
/* rgb */ color: rgb(90, 104, 118);
/* oklch */ color: oklch(51.1% 0.028 248.4);
Tailwind
colors: {
  custom: {
    50: '#89939d',
    500: '#5a6876',
    950: '#000000',
  },
}
SCSS
$custom: #5a6876;
$custom-light: #89939d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6876",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 118
  },
  "hsl": {
    "h": 210,
    "s": 13.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51068,
    "c": 0.02808,
    "h": 248.4
  },
  "luminance": 0.13382
}

Semantic roles & 50–950 ramp

primary
#5A6876
secondary
#A0968C
accent
#9472B6
background
#F8F9F9
surface
#F0F1F2
border
#CBCBCC
text
#0B0D0E
muted
#7C7E7E

Preview Lab

Preview with #5A6876

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

Preview Lab → · Contrast checker → · Palette generator →

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