#337AA3#337AA3

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

Color values

HEX#337AA3
RGBrgb(51, 122, 163)
HSLhsl(202, 52%, 42%)
HSVhsv(202, 69%, 64%)
CMYKcmyk(68.7%, 25.2%, 0%, 36.1%)
CIE-LABlab(48.59, -8.62, -28.43)
CIE-LCHlch(48.59, 29.71, 253.14°)
OKLaboklab(55.29% -0.0512 -0.08)
OKLCHoklch(55.29% 0.095 237.4)
XYZxyz(14.9331, 17.2656, 37.1888)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AA3 #A35C33
analogous
#33A394 #337AA3 #3342A3
triadic
#337AA3 #A3337A #7AA333
tetradic
#337AA3 #9433A3 #A35C33 #42A333
square
#337AA3 #9433A3 #A35C33 #42A333
split-complementary
#337AA3 #A33342 #A39433
monochromatic
#163446 #245774 #337AA3 #4C9AC7 #7BB4D6

Accessibility & contrast

On white

4.72
#337AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#337AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337AA3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AA3#FFFFFF#000000##FFFFFF
##337AA31.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677AA5
Deuteranopia (green-blind)
#576FA2
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #337aa3;
/* rgb */ color: rgb(51, 122, 163);
/* oklch */ color: oklch(55.3% 0.095 237.4);
Tailwind
colors: {
  custom: {
    50: '#78a0be',
    500: '#337aa3',
    950: '#000000',
  },
}
SCSS
$custom: #337aa3;
$custom-light: #78a0be;
$custom-dark: #000000;
JSON
{
  "hex": "#337aa3",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 163
  },
  "hsl": {
    "h": 201.964,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55288,
    "c": 0.09494,
    "h": 237.4
  },
  "luminance": 0.17267
}

Semantic roles & 50–950 ramp

primary
#337AA3
secondary
#BE8F73
accent
#814CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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