#337B9D#337B9D

#337B9D is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.2% C 0.088 H 232.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#337B9D
RGBrgb(51, 123, 157)
HSLhsl(199, 51%, 41%)
HSVhsv(199, 68%, 62%)
CMYKcmyk(67.5%, 21.7%, 0%, 38.4%)
CIE-LABlab(48.64, -11.26, -24.86)
CIE-LCHlch(48.64, 27.29, 245.64°)
OKLaboklab(55.24% -0.0544 -0.0697)
OKLCHoklch(55.24% 0.088 232)
XYZxyz(14.5316, 17.3025, 34.4656)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B9D #9D5533
analogous
#339D8A #337B9D #33469D
triadic
#337B9D #9D337B #7B9D33
tetradic
#337B9D #8A339D #9D5533 #469D33
square
#337B9D #8A339D #9D5533 #469D33
split-complementary
#337B9D #9D3346 #9D8A33
monochromatic
#153341 #24576F #337B9D #499DC4 #77B6D3

Accessibility & contrast

On white

4.71
#337B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#337B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B9D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B9D#FFFFFF#000000##FFFFFF
##337B9D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7A9F
Deuteranopia (green-blind)
#5B6F9C
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #337b9d;
/* rgb */ color: rgb(51, 123, 157);
/* oklch */ color: oklch(55.2% 0.088 232.0);
Tailwind
colors: {
  custom: {
    50: '#77a1ba',
    500: '#337b9d',
    950: '#000000',
  },
}
SCSS
$custom: #337b9d;
$custom-light: #77a1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#337b9d",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 157
  },
  "hsl": {
    "h": 199.245,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55239,
    "c": 0.08839,
    "h": 232
  },
  "luminance": 0.17304
}

Semantic roles & 50–950 ramp

primary
#337B9D
secondary
#BB8870
accent
#7B4DDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #337B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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