#337B87#337B87

#337B87 is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.3% C 0.073 H 210.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#337B87
RGBrgb(51, 123, 135)
HSLhsl(189, 45%, 36%)
HSVhsv(189, 62%, 53%)
CMYKcmyk(62.2%, 8.9%, 0%, 47.1%)
CIE-LABlab(47.77, -18.47, -13.24)
CIE-LCHlch(47.77, 22.73, 215.63°)
OKLaboklab(54.26% -0.0633 -0.0367)
OKLCHoklch(54.26% 0.073 210.1)
XYZxyz(12.8196, 16.6177, 25.4489)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B87 #873F33
analogous
#338769 #337B87 #335187
triadic
#337B87 #87337B #7B8733
tetradic
#337B87 #693387 #873F33 #518733
square
#337B87 #693387 #873F33 #518733
split-complementary
#337B87 #873351 #876933
monochromatic
#112A2E #22535B #337B87 #44A3B3 #6DBBC8

Accessibility & contrast

On white

4.86
#337B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#337B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B87
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B87#FFFFFF#000000##FFFFFF
##337B871.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717788
Deuteranopia (green-blind)
#646D87
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #337b87;
/* rgb */ color: rgb(51, 123, 135);
/* oklch */ color: oklch(54.3% 0.073 210.1);
Tailwind
colors: {
  custom: {
    50: '#74a1aa',
    500: '#337b87',
    950: '#000000',
  },
}
SCSS
$custom: #337b87;
$custom-light: #74a1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#337b87",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 135
  },
  "hsl": {
    "h": 188.571,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54261,
    "c": 0.07316,
    "h": 210.1
  },
  "luminance": 0.16619
}

Semantic roles & 50–950 ramp

primary
#337B87
secondary
#B07166
accent
#6653D5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #337B87

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

Preview Lab → · Contrast checker → · Palette generator →

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