#337A9C#337A9C

#337A9C is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.9% C 0.088 H 232.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#337A9C
RGBrgb(51, 122, 156)
HSLhsl(199, 51%, 41%)
HSVhsv(199, 67%, 61%)
CMYKcmyk(67.3%, 21.8%, 0%, 38.8%)
CIE-LABlab(48.29, -11.03, -24.82)
CIE-LCHlch(48.29, 27.15, 246.04°)
OKLaboklab(54.94% -0.0537 -0.0696)
OKLCHoklch(54.94% 0.088 232.3)
XYZxyz(14.3232, 17.0217, 33.9767)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A9C #9C5533
analogous
#339C8A #337A9C #33459C
triadic
#337A9C #9C337A #7A9C33
tetradic
#337A9C #8A339C #9C5533 #459C33
square
#337A9C #8A339C #9C5533 #459C33
split-complementary
#337A9C #9C3345 #9C8A33
monochromatic
#153240 #24566E #337A9C #499CC3 #77B5D3

Accessibility & contrast

On white

4.77
#337A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#337A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A9C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A9C#FFFFFF#000000##FFFFFF
##337A9C1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69799E
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #337a9c;
/* rgb */ color: rgb(51, 122, 156);
/* oklch */ color: oklch(54.9% 0.088 232.3);
Tailwind
colors: {
  custom: {
    50: '#77a0b9',
    500: '#337a9c',
    950: '#000000',
  },
}
SCSS
$custom: #337a9c;
$custom-light: #77a0b9;
$custom-dark: #000000;
JSON
{
  "hex": "#337a9c",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 156
  },
  "hsl": {
    "h": 199.429,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54944,
    "c": 0.08786,
    "h": 232.3
  },
  "luminance": 0.17023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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