#5A6778#5A6778

#5A6778 is a mid, muted cyan. Relative luminance 0.132; OKLCH L 50.9% C 0.031 H 255.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5A6778
RGBrgb(90, 103, 120)
HSLhsl(214, 14%, 41%)
HSVhsv(214, 25%, 47%)
CMYKcmyk(25%, 14.2%, 0%, 52.9%)
CIE-LABlab(43.11, -0.80, -11.14)
CIE-LCHlch(43.11, 11.17, 265.87°)
OKLaboklab(50.91% -0.008 -0.0304)
OKLCHoklch(50.91% 0.031 255.2)
XYZxyz(12.4559, 13.2298, 19.6630)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6778 #786B5A
analogous
#5A7678 #5A6778 #5C5A78
triadic
#5A6778 #785A67 #67785A
tetradic
#5A6778 #785A76 #786B5A #5A785C
square
#5A6778 #785A76 #786B5A #5A785C
split-complementary
#5A6778 #785C5A #76785A
monochromatic
#262B32 #404955 #5A6778 #778599 #9AA5B3

Accessibility & contrast

On white

5.76
#5A6778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5A6778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6778
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6778#FFFFFF#000000##FFFFFF
##5A67781.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a6778;
/* rgb */ color: rgb(90, 103, 120);
/* oklch */ color: oklch(50.9% 0.031 255.2);
Tailwind
colors: {
  custom: {
    50: '#89929f',
    500: '#5a6778',
    950: '#000000',
  },
}
SCSS
$custom: #5a6778;
$custom-light: #89929f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6778",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 120
  },
  "hsl": {
    "h": 214,
    "s": 14.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.03143,
    "h": 255.2
  },
  "luminance": 0.1323
}

Semantic roles & 50–950 ramp

primary
#5A6778
secondary
#A1988C
accent
#9971B7
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0B0D0E
muted
#7C7D7E

Preview Lab

Preview with #5A6778

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

Preview Lab → · Contrast checker → · Palette generator →

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