#337AA4#337AA4

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

Color values

HEX#337AA4
RGBrgb(51, 122, 164)
HSLhsl(202, 53%, 42%)
HSVhsv(202, 69%, 64%)
CMYKcmyk(68.9%, 25.6%, 0%, 35.7%)
CIE-LABlab(48.64, -8.27, -28.95)
CIE-LCHlch(48.64, 30.11, 254.05°)
OKLaboklab(55.34% -0.0508 -0.0815)
OKLCHoklch(55.34% 0.096 238)
XYZxyz(15.0230, 17.3016, 37.6626)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AA4 #A45D33
analogous
#33A496 #337AA4 #3342A4
triadic
#337AA4 #A4337A #7AA433
tetradic
#337AA4 #9633A4 #A45D33 #42A433
square
#337AA4 #9633A4 #A45D33 #42A433
split-complementary
#337AA4 #A43342 #A49633
monochromatic
#163547 #245775 #337AA4 #4D9AC8 #7BB4D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337AA4#FFFFFF#000000##FFFFFF
##337AA41.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)
#667AA6
Deuteranopia (green-blind)
#576FA3
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #337aa4;
/* rgb */ color: rgb(51, 122, 164);
/* oklch */ color: oklch(55.3% 0.096 238.0);
Tailwind
colors: {
  custom: {
    50: '#78a0bf',
    500: '#337aa4',
    950: '#000000',
  },
}
SCSS
$custom: #337aa4;
$custom-light: #78a0bf;
$custom-dark: #000000;
JSON
{
  "hex": "#337aa4",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 164
  },
  "hsl": {
    "h": 202.301,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55339,
    "c": 0.09601,
    "h": 238
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

primary
#337AA4
secondary
#BF9074
accent
#814CDC
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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