#337271#337271

#337271 is a mid, moderate teal. Relative luminance 0.139; OKLCH L 51.1% C 0.065 H 193.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#337271
RGBrgb(51, 114, 113)
HSLhsl(179, 38%, 32%)
HSVhsv(179, 55%, 45%)
CMYKcmyk(55.3%, 0%, 0.9%, 55.3%)
CIE-LABlab(44.13, -20.33, -5.60)
CIE-LCHlch(44.13, 21.09, 195.41°)
OKLaboklab(51.08% -0.0626 -0.0155)
OKLCHoklch(51.08% 0.065 193.9)
XYZxyz(10.3619, 13.9297, 17.7622)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337271 #723334
analogous
#337252 #337271 #335372
triadic
#337271 #713372 #727133
tetradic
#337271 #523372 #723334 #537233
square
#337271 #523372 #723334 #537233
split-complementary
#337271 #723353 #725233
monochromatic
#0D1D1D #204847 #337271 #469C9B #65BAB9

Accessibility & contrast

On white

5.55
#337271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#337271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337271
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337271#FFFFFF#000000##FFFFFF
##3372711.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6D71
Deuteranopia (green-blind)
#616572
Tritanopia (blue-blind)
#007571
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #337271;
/* rgb */ color: rgb(51, 114, 113);
/* oklch */ color: oklch(51.1% 0.065 193.9);
Tailwind
colors: {
  custom: {
    50: '#719b99',
    500: '#337271',
    950: '#000000',
  },
}
SCSS
$custom: #337271;
$custom-light: #719b99;
$custom-dark: #000000;
JSON
{
  "hex": "#337271",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.048,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51077,
    "c": 0.06454,
    "h": 193.9
  },
  "luminance": 0.13931
}

Semantic roles & 50–950 ramp

primary
#337271
secondary
#A25F60
accent
#5A5CCE
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #337271

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

Preview Lab → · Contrast checker → · Palette generator →

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