#517870#517870

#517870 is a mid, muted teal. Relative luminance 0.164; OKLCH L 54.1% C 0.046 H 180.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#517870
RGBrgb(81, 120, 112)
HSLhsl(168, 19%, 39%)
HSVhsv(168, 33%, 47%)
CMYKcmyk(32.5%, 0%, 6.7%, 52.9%)
CIE-LABlab(47.43, -15.58, 0.02)
CIE-LCHlch(47.43, 15.58, 179.94°)
OKLaboklab(54.11% -0.0457 -0.0002)
OKLCHoklch(54.11% 0.046 180.3)
XYZxyz(13.0334, 16.3514, 17.7955)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517870 #785159
analogous
#51785D #517870 #516D78
triadic
#517870 #705178 #787051
tetradic
#517870 #5D5178 #785159 #6D7851
square
#517870 #5D5178 #785159 #6D7851
split-complementary
#517870 #78516D #785D51
monochromatic
#202F2C #38534E #517870 #6B9B91 #90B4AC

Accessibility & contrast

On white

4.92
#517870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#517870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517870
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517870#FFFFFF#000000##FFFFFF
##5178701.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757470
Deuteranopia (green-blind)
#6E6E71
Tritanopia (blue-blind)
#457975
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #517870;
/* rgb */ color: rgb(81, 120, 112);
/* oklch */ color: oklch(54.1% 0.046 180.3);
Tailwind
colors: {
  custom: {
    50: '#839f99',
    500: '#517870',
    950: '#000000',
  },
}
SCSS
$custom: #517870;
$custom-light: #839f99;
$custom-dark: #000000;
JSON
{
  "hex": "#517870",
  "rgb": {
    "r": 81,
    "g": 120,
    "b": 112
  },
  "hsl": {
    "h": 167.692,
    "s": 19.403,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54107,
    "c": 0.04569,
    "h": 180.3
  },
  "luminance": 0.16352
}

Semantic roles & 50–950 ramp

primary
#517870
secondary
#A1848A
accent
#6C7CBC
background
#F8F9F9
surface
#EFF2F2
border
#CACCCC
text
#0B0E0D
muted
#7C7E7E

Preview Lab

Preview with #517870

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

Preview Lab → · Contrast checker → · Palette generator →

#517870 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva