#337A9D#337A9D

#337A9D is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.0% C 0.089 H 233.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#337A9D
RGBrgb(51, 122, 157)
HSLhsl(200, 51%, 41%)
HSVhsv(200, 68%, 62%)
CMYKcmyk(67.5%, 22.3%, 0%, 38.4%)
CIE-LABlab(48.33, -10.68, -25.33)
CIE-LCHlch(48.33, 27.50, 247.13°)
OKLaboklab(54.99% -0.0533 -0.071)
OKLCHoklch(54.99% 0.089 233.1)
XYZxyz(14.4082, 17.0557, 34.4245)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A9D #9D5633
analogous
#339D8B #337A9D #33459D
triadic
#337A9D #9D337A #7A9D33
tetradic
#337A9D #8B339D #9D5633 #459D33
square
#337A9D #8B339D #9D5633 #459D33
split-complementary
#337A9D #9D3345 #9D8B33
monochromatic
#153241 #24566F #337A9D #499BC4 #77B5D3

Accessibility & contrast

On white

4.76
#337A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#337A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A9D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A9D#FFFFFF#000000##FFFFFF
##337A9D1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69799F
Deuteranopia (green-blind)
#5A6E9C
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #337a9d;
/* rgb */ color: rgb(51, 122, 157);
/* oklch */ color: oklch(55.0% 0.089 233.1);
Tailwind
colors: {
  custom: {
    50: '#77a0ba',
    500: '#337a9d',
    950: '#000000',
  },
}
SCSS
$custom: #337a9d;
$custom-light: #77a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#337a9d",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 157
  },
  "hsl": {
    "h": 199.811,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54993,
    "c": 0.08883,
    "h": 233.1
  },
  "luminance": 0.17057
}

Semantic roles & 50–950 ramp

primary
#337A9D
secondary
#BB8970
accent
#7C4DDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #337A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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