#337C8A#337C8A

#337C8A is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.6% C 0.075 H 212.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#337C8A
RGBrgb(51, 124, 138)
HSLhsl(190, 46%, 37%)
HSVhsv(190, 63%, 54%)
CMYKcmyk(63%, 10.1%, 0%, 45.9%)
CIE-LABlab(48.20, -18.07, -14.37)
CIE-LCHlch(48.20, 23.08, 218.49°)
OKLaboklab(54.64% -0.0631 -0.0398)
OKLCHoklch(54.64% 0.075 212.3)
XYZxyz(13.1585, 16.9527, 26.6186)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C8A #8A4133
analogous
#338A6D #337C8A #33518A
triadic
#337C8A #8A337C #7C8A33
tetradic
#337C8A #6D338A #8A4133 #518A33
square
#337C8A #6D338A #8A4133 #518A33
split-complementary
#337C8A #8A3351 #8A6D33
monochromatic
#122C31 #22545D #337C8A #44A4B7 #6EBBC9

Accessibility & contrast

On white

4.78
#337C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#337C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C8A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C8A#FFFFFF#000000##FFFFFF
##337C8A1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71788B
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #337c8a;
/* rgb */ color: rgb(51, 124, 138);
/* oklch */ color: oklch(54.6% 0.075 212.3);
Tailwind
colors: {
  custom: {
    50: '#75a2ac',
    500: '#337c8a',
    950: '#000000',
  },
}
SCSS
$custom: #337c8a;
$custom-light: #75a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#337c8a",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 189.655,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54639,
    "c": 0.07466,
    "h": 212.3
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#337C8A
secondary
#B17367
accent
#6752D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #337C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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