#5A779B#5A779B

#5A779B is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 56.1% C 0.066 H 254.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5A779B
RGBrgb(90, 119, 155)
HSLhsl(213, 27%, 48%)
HSVhsv(213, 42%, 61%)
CMYKcmyk(41.9%, 23.2%, 0%, 39.2%)
CIE-LABlab(49.17, -0.71, -22.72)
CIE-LCHlch(49.17, 22.73, 268.22°)
OKLaboklab(56.13% -0.0179 -0.0631)
OKLCHoklch(56.13% 0.066 254.2)
XYZxyz(16.7278, 17.7329, 33.5454)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A779B #9B7E5A
analogous
#5A979B #5A779B #5D5A9B
triadic
#5A779B #9B5A77 #779B5A
tetradic
#5A779B #9B5A97 #9B7E5A #5A9B5D
square
#5A779B #9B5A97 #9B7E5A #5A9B5D
split-complementary
#5A779B #9B5D5A #979B5A
monochromatic
#2D3C4E #445974 #5A779B #7E96B4 #A5B6CB

Accessibility & contrast

On white

4.62
#5A779B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5A779B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A779B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A779B#FFFFFF#000000##FFFFFF
##5A779B1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69789D
Deuteranopia (green-blind)
#62729A
Tritanopia (blue-blind)
#437F83
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a779b;
/* rgb */ color: rgb(90, 119, 155);
/* oklch */ color: oklch(56.1% 0.066 254.2);
Tailwind
colors: {
  custom: {
    50: '#8b9eb8',
    500: '#5a779b',
    950: '#000000',
  },
}
SCSS
$custom: #5a779b;
$custom-light: #8b9eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a779b",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 155
  },
  "hsl": {
    "h": 213.231,
    "s": 26.531,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.06557,
    "h": 254.2
  },
  "luminance": 0.17734
}

Semantic roles & 50–950 ramp

primary
#5A779B
secondary
#B8AA98
accent
#9965C3
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E11
muted
#7D7E80

Preview Lab

Preview with #5A779B

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

Preview Lab → · Contrast checker → · Palette generator →

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