#51938C#51938C

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

Color values

HEX#51938C
RGBrgb(81, 147, 140)
HSLhsl(174, 29%, 45%)
HSVhsv(174, 45%, 58%)
CMYKcmyk(44.9%, 0%, 4.8%, 42.4%)
CIE-LABlab(56.59, -22.83, -2.86)
CIE-LCHlch(56.59, 23.01, 187.14°)
OKLaboklab(61.73% -0.0682 -0.0081)
OKLCHoklch(61.73% 0.069 186.7)
XYZxyz(18.5588, 24.5088, 28.5585)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51938C #935158
analogous
#51936B #51938C #517993
triadic
#51938C #8C5193 #938C51
tetradic
#51938C #6B5193 #935158 #799351
square
#51938C #6B5193 #935158 #799351
split-complementary
#51938C #935179 #936B51
monochromatic
#264441 #3B6C66 #51938C #71B1AA #98C6C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51938C#FFFFFF#000000##000000
##51938C1.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)
#8D8D8C
Deuteranopia (green-blind)
#82848D
Tritanopia (blue-blind)
#349691
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #51938c;
/* rgb */ color: rgb(81, 147, 140);
/* oklch */ color: oklch(61.7% 0.069 186.7);
Tailwind
colors: {
  custom: {
    50: '#86b3ad',
    500: '#51938c',
    950: '#000000',
  },
}
SCSS
$custom: #51938c;
$custom-light: #86b3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#51938c",
  "rgb": {
    "r": 81,
    "g": 147,
    "b": 140
  },
  "hsl": {
    "h": 173.636,
    "s": 28.947,
    "l": 44.706
  },
  "oklch": {
    "l": 0.61734,
    "c": 0.06867,
    "h": 186.7
  },
  "luminance": 0.2451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51938C

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

Preview Lab → · Contrast checker → · Palette generator →

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