#337B8A#337B8A

#337B8A is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.4% C 0.074 H 213.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#337B8A
RGBrgb(51, 123, 138)
HSLhsl(190, 46%, 37%)
HSVhsv(190, 63%, 54%)
CMYKcmyk(63%, 10.9%, 0%, 45.9%)
CIE-LABlab(47.88, -17.52, -14.85)
CIE-LCHlch(47.88, 22.97, 220.27°)
OKLaboklab(54.38% -0.062 -0.0412)
OKLCHoklch(54.38% 0.074 213.6)
XYZxyz(13.0338, 16.7034, 26.5770)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B8A #8A4233
analogous
#338A6E #337B8A #33508A
triadic
#337B8A #8A337B #7B8A33
tetradic
#337B8A #6E338A #8A4233 #508A33
square
#337B8A #6E338A #8A4233 #508A33
split-complementary
#337B8A #8A3350 #8A6E33
monochromatic
#122B31 #22535D #337B8A #44A3B7 #6EBAC9

Accessibility & contrast

On white

4.84
#337B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#337B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B8A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B8A#FFFFFF#000000##FFFFFF
##337B8A1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778B
Deuteranopia (green-blind)
#636E8A
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #337b8a;
/* rgb */ color: rgb(51, 123, 138);
/* oklch */ color: oklch(54.4% 0.074 213.6);
Tailwind
colors: {
  custom: {
    50: '#75a1ac',
    500: '#337b8a',
    950: '#000000',
  },
}
SCSS
$custom: #337b8a;
$custom-light: #75a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#337b8a",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 190.345,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54385,
    "c": 0.07444,
    "h": 213.6
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

primary
#337B8A
secondary
#B17467
accent
#6952D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #337B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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