#337A9F#337A9F

#337A9F is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.1% C 0.091 H 234.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#337A9F
RGBrgb(51, 122, 159)
HSLhsl(201, 51%, 41%)
HSVhsv(201, 68%, 62%)
CMYKcmyk(67.9%, 23.3%, 0%, 37.6%)
CIE-LABlab(48.42, -10.00, -26.37)
CIE-LCHlch(48.42, 28.20, 249.23°)
OKLaboklab(55.09% -0.0526 -0.074)
OKLCHoklch(55.09% 0.091 234.6)
XYZxyz(14.5803, 17.1245, 35.3311)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A9F #9F5833
analogous
#339F8E #337A9F #33449F
triadic
#337A9F #9F337A #7A9F33
tetradic
#337A9F #8E339F #9F5833 #449F33
square
#337A9F #8E339F #9F5833 #449F33
split-complementary
#337A9F #9F3344 #9F8E33
monochromatic
#153342 #245671 #337A9F #4A9BC5 #79B5D4

Accessibility & contrast

On white

4.75
#337A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#337A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A9F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A9F#FFFFFF#000000##FFFFFF
##337A9F1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6879A1
Deuteranopia (green-blind)
#596E9E
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #337a9f;
/* rgb */ color: rgb(51, 122, 159);
/* oklch */ color: oklch(55.1% 0.091 234.6);
Tailwind
colors: {
  custom: {
    50: '#77a0bb',
    500: '#337a9f',
    950: '#000000',
  },
}
SCSS
$custom: #337a9f;
$custom-light: #77a0bb;
$custom-dark: #000000;
JSON
{
  "hex": "#337a9f",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 159
  },
  "hsl": {
    "h": 200.556,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5509,
    "c": 0.0908,
    "h": 234.6
  },
  "luminance": 0.17126
}

Semantic roles & 50–950 ramp

primary
#337A9F
secondary
#BC8B71
accent
#7E4DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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