#337971#337971

#337971 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.9% C 0.071 H 185.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#337971
RGBrgb(51, 121, 113)
HSLhsl(173, 41%, 34%)
HSVhsv(173, 58%, 47%)
CMYKcmyk(57.9%, 0%, 6.6%, 52.5%)
CIE-LABlab(46.40, -23.99, -2.24)
CIE-LCHlch(46.40, 24.09, 185.34°)
OKLaboklab(52.91% -0.0711 -0.0064)
OKLCHoklch(52.91% 0.071 185.2)
XYZxyz(11.1819, 15.5697, 18.0356)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337971 #79333B
analogous
#33794E #337971 #335E79
triadic
#337971 #713379 #797133
tetradic
#337971 #4E3379 #79333B #5E7933
square
#337971 #4E3379 #79333B #5E7933
split-complementary
#337971 #79335E #794E33
monochromatic
#0F2321 #214E49 #337971 #45A499 #67BFB5

Accessibility & contrast

On white

5.10
#337971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#337971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337971
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337971#FFFFFF#000000##FFFFFF
##3379711.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737371
Deuteranopia (green-blind)
#686B72
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337971;
/* rgb */ color: rgb(51, 121, 113);
/* oklch */ color: oklch(52.9% 0.071 185.2);
Tailwind
colors: {
  custom: {
    50: '#72a099',
    500: '#337971',
    950: '#000000',
  },
}
SCSS
$custom: #337971;
$custom-light: #72a099;
$custom-dark: #000000;
JSON
{
  "hex": "#337971",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 113
  },
  "hsl": {
    "h": 173.143,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52914,
    "c": 0.07136,
    "h": 185.2
  },
  "luminance": 0.15571
}

Semantic roles & 50–950 ramp

primary
#337971
secondary
#A76169
accent
#5765D1
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #337971

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

Preview Lab → · Contrast checker → · Palette generator →

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