#51978B#51978B

#51978B is a light, moderate teal. Relative luminance 0.257; OKLCH L 62.7% C 0.074 H 181.4°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#51978B
RGBrgb(81, 151, 139)
HSLhsl(170, 30%, 45%)
HSVhsv(170, 46%, 59%)
CMYKcmyk(46.4%, 0%, 7.9%, 40.8%)
CIE-LABlab(57.79, -25.12, -0.53)
CIE-LCHlch(57.79, 25.13, 181.21°)
OKLaboklab(62.69% -0.0736 -0.0018)
OKLCHoklch(62.69% 0.074 181.4)
XYZxyz(19.1183, 25.7451, 28.3829)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51978B #97515D
analogous
#519768 #51978B #518097
triadic
#51978B #8B5197 #978B51
tetradic
#51978B #685197 #97515D #809751
square
#51978B #685197 #97515D #809751
split-complementary
#51978B #975180 #976851
monochromatic
#264742 #3C6F66 #51978B #72B3A8 #9AC9C1

Accessibility & contrast

On white

3.41
#51978B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#51978B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51978B
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51978B#FFFFFF#000000##000000
##51978B1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92908B
Deuteranopia (green-blind)
#86878C
Tritanopia (blue-blind)
#339993
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #51978b;
/* rgb */ color: rgb(81, 151, 139);
/* oklch */ color: oklch(62.7% 0.074 181.4);
Tailwind
colors: {
  custom: {
    50: '#86b6ac',
    500: '#51978b',
    950: '#000000',
  },
}
SCSS
$custom: #51978b;
$custom-light: #86b6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#51978b",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 139
  },
  "hsl": {
    "h": 169.714,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.62693,
    "c": 0.07359,
    "h": 181.4
  },
  "luminance": 0.25747
}

Semantic roles & 50–950 ramp

primary
#51978B
secondary
#B68E95
accent
#6173C6
background
#F8FBFA
surface
#F0F6F4
border
#CBD0CE
text
#0C1110
muted
#7D807F

Preview Lab

Preview with #51978B

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

Preview Lab → · Contrast checker → · Palette generator →

#51978B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva