#337D8A#337D8A

#337D8A is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.9% C 0.075 H 210.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#337D8A
RGBrgb(51, 125, 138)
HSLhsl(189, 46%, 37%)
HSVhsv(189, 63%, 54%)
CMYKcmyk(63%, 9.4%, 0%, 45.9%)
CIE-LABlab(48.52, -18.61, -13.89)
CIE-LCHlch(48.52, 23.22, 216.73°)
OKLaboklab(54.89% -0.0643 -0.0385)
OKLCHoklch(54.89% 0.075 210.9)
XYZxyz(13.2844, 17.2046, 26.6606)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D8A #8A4033
analogous
#338A6C #337D8A #33518A
triadic
#337D8A #8A337D #7D8A33
tetradic
#337D8A #6C338A #8A4033 #518A33
square
#337D8A #6C338A #8A4033 #518A33
split-complementary
#337D8A #8A3351 #8A6C33
monochromatic
#122C31 #22555D #337D8A #44A5B7 #6EBCC9

Accessibility & contrast

On white

4.73
#337D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#337D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D8A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D8A#FFFFFF#000000##FFFFFF
##337D8A1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798B
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #337d8a;
/* rgb */ color: rgb(51, 125, 138);
/* oklch */ color: oklch(54.9% 0.075 210.9);
Tailwind
colors: {
  custom: {
    50: '#75a3ac',
    500: '#337d8a',
    950: '#000000',
  },
}
SCSS
$custom: #337d8a;
$custom-light: #75a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#337d8a",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 138
  },
  "hsl": {
    "h": 188.966,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.07492,
    "h": 210.9
  },
  "luminance": 0.17206
}

Semantic roles & 50–950 ramp

primary
#337D8A
secondary
#B17367
accent
#6652D6
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #337D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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