#337B9A#337B9A

#337B9A is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.1% C 0.086 H 229.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#337B9A
RGBrgb(51, 123, 154)
HSLhsl(198, 50%, 40%)
HSVhsv(198, 67%, 60%)
CMYKcmyk(66.9%, 20.1%, 0%, 39.6%)
CIE-LABlab(48.51, -12.27, -23.29)
CIE-LCHlch(48.51, 26.33, 242.22°)
OKLaboklab(55.1% -0.0555 -0.0652)
OKLCHoklch(55.1% 0.086 229.6)
XYZxyz(14.2786, 17.2013, 33.1333)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B9A #9A5233
analogous
#339A85 #337B9A #33489A
triadic
#337B9A #9A337B #7B9A33
tetradic
#337B9A #85339A #9A5233 #489A33
square
#337B9A #85339A #9A5233 #489A33
split-complementary
#337B9A #9A3348 #9A8533
monochromatic
#15323E #24566C #337B9A #489DC2 #76B6D2

Accessibility & contrast

On white

4.73
#337B9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#337B9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B9A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B9A#FFFFFF#000000##FFFFFF
##337B9A1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B799C
Deuteranopia (green-blind)
#5D6F9A
Tritanopia (blue-blind)
#008485
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #337b9a;
/* rgb */ color: rgb(51, 123, 154);
/* oklch */ color: oklch(55.1% 0.086 229.6);
Tailwind
colors: {
  custom: {
    50: '#77a1b8',
    500: '#337b9a',
    950: '#000000',
  },
}
SCSS
$custom: #337b9a;
$custom-light: #77a1b8;
$custom-dark: #000000;
JSON
{
  "hex": "#337b9a",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 154
  },
  "hsl": {
    "h": 198.058,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55096,
    "c": 0.08563,
    "h": 229.6
  },
  "luminance": 0.17203
}

Semantic roles & 50–950 ramp

primary
#337B9A
secondary
#BA856F
accent
#784EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #337B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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