#337F8B#337F8B

#337F8B is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.4% C 0.076 H 209.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#337F8B
RGBrgb(51, 127, 139)
HSLhsl(188, 46%, 37%)
HSVhsv(188, 63%, 55%)
CMYKcmyk(63.3%, 8.6%, 0%, 45.5%)
CIE-LABlab(49.19, -19.37, -13.46)
CIE-LCHlch(49.19, 23.59, 214.80°)
OKLaboklab(55.44% -0.0661 -0.0373)
OKLCHoklch(55.44% 0.076 209.4)
XYZxyz(13.6129, 17.7452, 27.1288)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F8B #8B3F33
analogous
#338B6B #337F8B #33538B
triadic
#337F8B #8B337F #7F8B33
tetradic
#337F8B #6B338B #8B3F33 #538B33
square
#337F8B #6B338B #8B3F33 #538B33
split-complementary
#337F8B #8B3353 #8B6B33
monochromatic
#122D31 #23565E #337F8B #43A8B8 #6EBDCA

Accessibility & contrast

On white

4.62
#337F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#337F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337F8B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F8B#FFFFFF#000000##FFFFFF
##337F8B1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747A8C
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337f8b;
/* rgb */ color: rgb(51, 127, 139);
/* oklch */ color: oklch(55.4% 0.076 209.4);
Tailwind
colors: {
  custom: {
    50: '#75a4ac',
    500: '#337f8b',
    950: '#000000',
  },
}
SCSS
$custom: #337f8b;
$custom-light: #75a4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#337f8b",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 139
  },
  "hsl": {
    "h": 188.182,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.07591,
    "h": 209.4
  },
  "luminance": 0.17747
}

Semantic roles & 50–950 ramp

primary
#337F8B
secondary
#B27268
accent
#6452D6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #337F8B

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

Preview Lab → · Contrast checker → · Palette generator →

#337F8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva