#337D9A#337D9A

#337D9A is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.6% C 0.085 H 227.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#337D9A
RGBrgb(51, 125, 154)
HSLhsl(197, 50%, 40%)
HSVhsv(197, 67%, 60%)
CMYKcmyk(66.9%, 18.8%, 0%, 39.6%)
CIE-LABlab(49.13, -13.40, -22.34)
CIE-LCHlch(49.13, 26.05, 239.04°)
OKLaboklab(55.59% -0.0577 -0.0624)
OKLCHoklch(55.59% 0.085 227.3)
XYZxyz(14.5293, 17.7026, 33.2168)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D9A #9A5033
analogous
#339A83 #337D9A #334A9A
triadic
#337D9A #9A337D #7D9A33
tetradic
#337D9A #83339A #9A5033 #4A9A33
square
#337D9A #83339A #9A5033 #4A9A33
split-complementary
#337D9A #9A334A #9A8333
monochromatic
#15323E #24586C #337D9A #48A0C2 #76B8D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337D9A#FFFFFF#000000##FFFFFF
##337D9A1.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)
#6E7B9B
Deuteranopia (green-blind)
#5F709A
Tritanopia (blue-blind)
#008586
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337d9a;
/* rgb */ color: rgb(51, 125, 154);
/* oklch */ color: oklch(55.6% 0.085 227.3);
Tailwind
colors: {
  custom: {
    50: '#77a2b7',
    500: '#337d9a',
    950: '#000000',
  },
}
SCSS
$custom: #337d9a;
$custom-light: #77a2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#337d9a",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 154
  },
  "hsl": {
    "h": 196.893,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55592,
    "c": 0.08502,
    "h": 227.3
  },
  "luminance": 0.17704
}

Semantic roles & 50–950 ramp

primary
#337D9A
secondary
#BA846F
accent
#754EDA
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #337D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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