#337F8A#337F8A

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

Color values

HEX#337F8A
RGBrgb(51, 127, 138)
HSLhsl(188, 46%, 37%)
HSVhsv(188, 63%, 54%)
CMYKcmyk(63%, 8%, 0%, 45.9%)
CIE-LABlab(49.15, -19.68, -12.93)
CIE-LCHlch(49.15, 23.55, 213.29°)
OKLaboklab(55.4% -0.0665 -0.0358)
OKLCHoklch(55.4% 0.076 208.3)
XYZxyz(13.5401, 17.7161, 26.7458)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F8A #8A3E33
analogous
#338A6A #337F8A #33548A
triadic
#337F8A #8A337F #7F8A33
tetradic
#337F8A #6A338A #8A3E33 #548A33
square
#337F8A #6A338A #8A3E33 #548A33
split-complementary
#337F8A #8A3354 #8A6A33
monochromatic
#122D31 #22565D #337F8A #44A8B7 #6EBEC9

Accessibility & contrast

On white

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

On black

4.54
#337F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337F8A#FFFFFF#000000##FFFFFF
##337F8A1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757A8B
Deuteranopia (green-blind)
#67718A
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337f8a;
/* rgb */ color: rgb(51, 127, 138);
/* oklch */ color: oklch(55.4% 0.076 208.3);
Tailwind
colors: {
  custom: {
    50: '#75a4ac',
    500: '#337f8a',
    950: '#000000',
  },
}
SCSS
$custom: #337f8a;
$custom-light: #75a4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#337f8a",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 187.586,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.55403,
    "c": 0.07556,
    "h": 208.3
  },
  "luminance": 0.17718
}

Semantic roles & 50–950 ramp

primary
#337F8A
secondary
#B17167
accent
#6352D6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #337F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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