#5A7A8A#5A7A8A

#5A7A8A is a mid, muted cyan. Relative luminance 0.179; OKLCH L 56.1% C 0.044 H 230.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5A7A8A
RGBrgb(90, 122, 138)
HSLhsl(200, 21%, 45%)
HSVhsv(200, 35%, 54%)
CMYKcmyk(34.8%, 11.6%, 0%, 45.9%)
CIE-LABlab(49.41, -7.23, -12.36)
CIE-LCHlch(49.41, 14.32, 239.70°)
OKLaboklab(56.1% -0.0283 -0.0339)
OKLCHoklch(56.1% 0.044 230.1)
XYZxyz(15.7620, 17.9269, 26.6695)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7A8A #8A6A5A
analogous
#5A8A82 #5A7A8A #5A628A
triadic
#5A7A8A #8A5A7A #7A8A5A
tetradic
#5A7A8A #825A8A #8A6A5A #628A5A
square
#5A7A8A #825A8A #8A6A5A #628A5A
split-complementary
#5A7A8A #8A5A62 #8A825A
monochromatic
#2A3940 #425965 #5A7A8A #7998A8 #9EB5C0

Accessibility & contrast

On white

4.58
#5A7A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5A7A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7A8A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7A8A#FFFFFF#000000##000000
##5A7A8A1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72798B
Deuteranopia (green-blind)
#6B738A
Tritanopia (blue-blind)
#4A7F7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a7a8a;
/* rgb */ color: rgb(90, 122, 138);
/* oklch */ color: oklch(56.1% 0.044 230.1);
Tailwind
colors: {
  custom: {
    50: '#8aa0ac',
    500: '#5a7a8a',
    950: '#000000',
  },
}
SCSS
$custom: #5a7a8a;
$custom-light: #8aa0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7a8a",
  "rgb": {
    "r": 90,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 200,
    "s": 21.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56097,
    "c": 0.04416,
    "h": 230.1
  },
  "luminance": 0.17928
}

Semantic roles & 50–950 ramp

primary
#5A7A8A
secondary
#AE9B92
accent
#866ABE
background
#F8F9FA
surface
#F0F2F4
border
#CBCCCE
text
#0C0E10
muted
#7D7E7F

Preview Lab

Preview with #5A7A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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