#337A8A#337A8A

#337A8A is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.1% C 0.074 H 215.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#337A8A
RGBrgb(51, 122, 138)
HSLhsl(191, 46%, 37%)
HSVhsv(191, 63%, 54%)
CMYKcmyk(63%, 11.6%, 0%, 45.9%)
CIE-LABlab(47.57, -16.98, -15.33)
CIE-LCHlch(47.57, 22.87, 222.08°)
OKLaboklab(54.13% -0.0609 -0.0426)
OKLCHoklch(54.13% 0.074 215)
XYZxyz(12.9104, 16.4565, 26.5359)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A8A #8A4333
analogous
#338A6E #337A8A #334F8A
triadic
#337A8A #8A337A #7A8A33
tetradic
#337A8A #6E338A #8A4333 #4F8A33
square
#337A8A #6E338A #8A4333 #4F8A33
split-complementary
#337A8A #8A334F #8A6E33
monochromatic
#122B31 #22525D #337A8A #44A2B7 #6EB9C9

Accessibility & contrast

On white

4.89
#337A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#337A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A8A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A8A#FFFFFF#000000##FFFFFF
##337A8A1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F768B
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #337a8a;
/* rgb */ color: rgb(51, 122, 138);
/* oklch */ color: oklch(54.1% 0.074 215.0);
Tailwind
colors: {
  custom: {
    50: '#74a0ac',
    500: '#337a8a',
    950: '#000000',
  },
}
SCSS
$custom: #337a8a;
$custom-light: #74a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#337a8a",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 191.034,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54131,
    "c": 0.07427,
    "h": 215
  },
  "luminance": 0.16458
}

Semantic roles & 50–950 ramp

primary
#337A8A
secondary
#B17567
accent
#6A52D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #337A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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