#337172#337172

#337172 is a mid, moderate teal. Relative luminance 0.137; OKLCH L 50.9% C 0.064 H 196.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#337172
RGBrgb(51, 113, 114)
HSLhsl(181, 38%, 32%)
HSVhsv(181, 55%, 45%)
CMYKcmyk(55.3%, 0.9%, 0%, 55.3%)
CIE-LABlab(43.84, -19.50, -6.64)
CIE-LCHlch(43.84, 20.60, 198.80°)
OKLaboklab(50.85% -0.061 -0.0184)
OKLCHoklch(50.85% 0.064 196.8)
XYZxyz(10.3064, 13.7280, 18.0230)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337172 #723433
analogous
#337253 #337172 #335272
triadic
#337172 #723371 #717233
tetradic
#337172 #533372 #723433 #527233
square
#337172 #533372 #723433 #527233
split-complementary
#337172 #723352 #725333
monochromatic
#0D1D1D #204748 #337172 #469B9C #65B9BA

Accessibility & contrast

On white

5.61
#337172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#337172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337172
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337172#FFFFFF#000000##FFFFFF
##3371721.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C72
Deuteranopia (green-blind)
#606472
Tritanopia (blue-blind)
#007471
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #337172;
/* rgb */ color: rgb(51, 113, 114);
/* oklch */ color: oklch(50.9% 0.064 196.8);
Tailwind
colors: {
  custom: {
    50: '#719a9a',
    500: '#337172',
    950: '#000000',
  },
}
SCSS
$custom: #337172;
$custom-light: #719a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#337172",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 114
  },
  "hsl": {
    "h": 180.952,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.50852,
    "c": 0.06366,
    "h": 196.8
  },
  "luminance": 0.13729
}

Semantic roles & 50–950 ramp

primary
#337172
secondary
#A2605F
accent
#5C5ACE
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #337172

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

Preview Lab → · Contrast checker → · Palette generator →

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