#5A897D#5A897D

#5A897D is a mid, muted teal. Relative luminance 0.215; OKLCH L 59.3% C 0.055 H 176.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5A897D
RGBrgb(90, 137, 125)
HSLhsl(165, 21%, 45%)
HSVhsv(165, 34%, 54%)
CMYKcmyk(34.3%, 0%, 8.8%, 46.3%)
CIE-LABlab(53.54, -18.79, 1.36)
CIE-LCHlch(53.54, 18.84, 175.85°)
OKLaboklab(59.26% -0.0545 0.0033)
OKLCHoklch(59.26% 0.055 176.5)
XYZxyz(16.8625, 21.5447, 22.6681)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A897D #895A66
analogous
#5A8966 #5A897D #5A7E89
triadic
#5A897D #7D5A89 #897D5A
tetradic
#5A897D #665A89 #895A66 #7E895A
square
#5A897D #665A89 #895A66 #7E895A
split-complementary
#5A897D #895A7E #89665A
monochromatic
#293F3A #42645B #5A897D #79A79B #9EBFB7

Accessibility & contrast

On white

3.96
#5A897D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5A897D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A897D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A897D#FFFFFF#000000##000000
##5A897D1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86837C
Deuteranopia (green-blind)
#7D7D7E
Tritanopia (blue-blind)
#4C8A85
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a897d;
/* rgb */ color: rgb(90, 137, 125);
/* oklch */ color: oklch(59.3% 0.055 176.5);
Tailwind
colors: {
  custom: {
    50: '#8aaba2',
    500: '#5a897d',
    950: '#000000',
  },
}
SCSS
$custom: #5a897d;
$custom-light: #8aaba2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a897d",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 125
  },
  "hsl": {
    "h": 164.681,
    "s": 20.705,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59258,
    "c": 0.05457,
    "h": 176.5
  },
  "luminance": 0.21546
}

Semantic roles & 50–950 ramp

primary
#5A897D
secondary
#AD9299
accent
#6B80BD
background
#F8FAF9
surface
#F0F4F2
border
#CBCECC
text
#0C100F
muted
#7D7F7E

Preview Lab

Preview with #5A897D

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

Preview Lab → · Contrast checker → · Palette generator →

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