#5A7E8B#5A7E8B

#5A7E8B is a mid, muted cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.045 H 222.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5A7E8B
RGBrgb(90, 126, 139)
HSLhsl(196, 21%, 45%)
HSVhsv(196, 35%, 55%)
CMYKcmyk(35.3%, 9.4%, 0%, 45.5%)
CIE-LABlab(50.64, -9.24, -11.10)
CIE-LCHlch(50.64, 14.44, 230.22°)
OKLaboklab(57.08% -0.0334 -0.0304)
OKLCHoklch(57.08% 0.045 222.3)
XYZxyz(16.3360, 18.9586, 27.2197)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7E8B #8B675A
analogous
#5A8B7F #5A7E8B #5A668B
triadic
#5A7E8B #8B5A7E #7E8B5A
tetradic
#5A7E8B #7F5A8B #8B675A #668B5A
square
#5A7E8B #7F5A8B #8B675A #668B5A
split-complementary
#5A7E8B #8B5A66 #8B7F5A
monochromatic
#2A3B41 #425C66 #5A7E8B #7A9CA9 #9FB8C1

Accessibility & contrast

On white

4.38
#5A7E8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5A7E8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7E8B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7E8B#FFFFFF#000000##000000
##5A7E8B1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#767C8C
Deuteranopia (green-blind)
#6F768B
Tritanopia (blue-blind)
#498282
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a7e8b;
/* rgb */ color: rgb(90, 126, 139);
/* oklch */ color: oklch(57.1% 0.045 222.3);
Tailwind
colors: {
  custom: {
    50: '#8aa3ac',
    500: '#5a7e8b',
    950: '#000000',
  },
}
SCSS
$custom: #5a7e8b;
$custom-light: #8aa3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7e8b",
  "rgb": {
    "r": 90,
    "g": 126,
    "b": 139
  },
  "hsl": {
    "h": 195.918,
    "s": 21.397,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.04516,
    "h": 222.3
  },
  "luminance": 0.18959
}

Semantic roles & 50–950 ramp

primary
#5A7E8B
secondary
#AF9A92
accent
#806ABE
background
#F8FAFA
surface
#F0F3F4
border
#CBCDCE
text
#0C0F10
muted
#7D7F7F

Preview Lab

Preview with #5A7E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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