#51938B#51938B

#51938B is a mid, moderate teal. Relative luminance 0.245; OKLCH L 61.7% C 0.069 H 185.5°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#51938B
RGBrgb(81, 147, 139)
HSLhsl(173, 29%, 45%)
HSVhsv(173, 45%, 58%)
CMYKcmyk(44.9%, 0%, 5.4%, 42.4%)
CIE-LABlab(56.56, -23.09, -2.33)
CIE-LCHlch(56.56, 23.21, 185.77°)
OKLaboklab(61.7% -0.0686 -0.0066)
OKLCHoklch(61.7% 0.069 185.5)
XYZxyz(18.4854, 24.4794, 28.1720)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51938B #935159
analogous
#51936A #51938B #517A93
triadic
#51938B #8B5193 #938B51
tetradic
#51938B #6A5193 #935159 #7A9351
square
#51938B #6A5193 #935159 #7A9351
split-complementary
#51938B #93517A #936A51
monochromatic
#264440 #3B6C66 #51938B #71B1A9 #98C6C1

Accessibility & contrast

On white

3.56
#51938B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#51938B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51938B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51938B#FFFFFF#000000##000000
##51938B1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8D8B
Deuteranopia (green-blind)
#82848C
Tritanopia (blue-blind)
#349690
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #51938b;
/* rgb */ color: rgb(81, 147, 139);
/* oklch */ color: oklch(61.7% 0.069 185.5);
Tailwind
colors: {
  custom: {
    50: '#86b3ac',
    500: '#51938b',
    950: '#000000',
  },
}
SCSS
$custom: #51938b;
$custom-light: #86b3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#51938b",
  "rgb": {
    "r": 81,
    "g": 147,
    "b": 139
  },
  "hsl": {
    "h": 172.727,
    "s": 28.947,
    "l": 44.706
  },
  "oklch": {
    "l": 0.61702,
    "c": 0.06897,
    "h": 185.5
  },
  "luminance": 0.24481
}

Semantic roles & 50–950 ramp

primary
#51938B
secondary
#B38D91
accent
#636FC5
background
#F8FBFA
surface
#F0F6F4
border
#CBD0CE
text
#0B1110
muted
#7C807F

Preview Lab

Preview with #51938B

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

Preview Lab → · Contrast checker → · Palette generator →

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