#5A778C#5A778C

#5A778C is a mid, muted cyan. Relative luminance 0.173; OKLCH L 55.5% C 0.047 H 240.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5A778C
RGBrgb(90, 119, 140)
HSLhsl(205, 22%, 45%)
HSVhsv(205, 36%, 55%)
CMYKcmyk(35.7%, 15%, 0%, 45.1%)
CIE-LABlab(48.59, -4.95, -14.79)
CIE-LCHlch(48.59, 15.59, 251.49°)
OKLaboklab(55.47% -0.0234 -0.0407)
OKLCHoklch(55.47% 0.047 240.1)
XYZxyz(15.5454, 17.2600, 27.3183)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A778C #8C6F5A
analogous
#5A8C88 #5A778C #5A5E8C
triadic
#5A778C #8C5A77 #778C5A
tetradic
#5A778C #885A8C #8C6F5A #5E8C5A
square
#5A778C #885A8C #8C6F5A #5E8C5A
split-complementary
#5A778C #8C5A5E #8C885A
monochromatic
#2A3841 #425767 #5A778C #7A95A9 #9FB3C1

Accessibility & contrast

On white

4.72
#5A778C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5A778C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A778C
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A778C#FFFFFF#000000##FFFFFF
##5A778C1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E768D
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#497C7E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a778c;
/* rgb */ color: rgb(90, 119, 140);
/* oklch */ color: oklch(55.5% 0.047 240.1);
Tailwind
colors: {
  custom: {
    50: '#8a9ead',
    500: '#5a778c',
    950: '#000000',
  },
}
SCSS
$custom: #5a778c;
$custom-light: #8a9ead;
$custom-dark: #000000;
JSON
{
  "hex": "#5a778c",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 140
  },
  "hsl": {
    "h": 205.2,
    "s": 21.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55471,
    "c": 0.04689,
    "h": 240.1
  },
  "luminance": 0.17261
}

Semantic roles & 50–950 ramp

primary
#5A778C
secondary
#AF9F93
accent
#8D6ABE
background
#F8F9FA
surface
#F0F2F4
border
#CBCCCE
text
#0C0E10
muted
#7D7E7F

Preview Lab

Preview with #5A778C

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

Preview Lab → · Contrast checker → · Palette generator →

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