#337D9D#337D9D

#337D9D is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.7% C 0.088 H 229.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#337D9D
RGBrgb(51, 125, 157)
HSLhsl(198, 51%, 41%)
HSVhsv(198, 68%, 62%)
CMYKcmyk(67.5%, 20.4%, 0%, 38.4%)
CIE-LABlab(49.26, -12.39, -23.90)
CIE-LCHlch(49.26, 26.92, 242.59°)
OKLaboklab(55.73% -0.0565 -0.0669)
OKLCHoklch(55.73% 0.088 229.8)
XYZxyz(14.7822, 17.8038, 34.5492)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D9D #9D5333
analogous
#339D88 #337D9D #33489D
triadic
#337D9D #9D337D #7D9D33
tetradic
#337D9D #88339D #9D5333 #489D33
square
#337D9D #88339D #9D5333 #489D33
split-complementary
#337D9D #9D3348 #9D8833
monochromatic
#153341 #24586F #337D9D #499FC4 #77B7D3

Accessibility & contrast

On white

4.60
#337D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#337D9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337D9D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D9D#FFFFFF#000000##FFFFFF
##337D9D1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7B9F
Deuteranopia (green-blind)
#5E709D
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337d9d;
/* rgb */ color: rgb(51, 125, 157);
/* oklch */ color: oklch(55.7% 0.088 229.8);
Tailwind
colors: {
  custom: {
    50: '#77a2ba',
    500: '#337d9d',
    950: '#000000',
  },
}
SCSS
$custom: #337d9d;
$custom-light: #77a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#337d9d",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 157
  },
  "hsl": {
    "h": 198.113,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.08761,
    "h": 229.8
  },
  "luminance": 0.17805
}

Semantic roles & 50–950 ramp

primary
#337D9D
secondary
#BB8770
accent
#784DDA
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #337D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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