#337AA2#337AA2

#337AA2 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.2% C 0.094 H 236.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#337AA2
RGBrgb(51, 122, 162)
HSLhsl(202, 52%, 42%)
HSVhsv(202, 69%, 64%)
CMYKcmyk(68.5%, 24.7%, 0%, 36.5%)
CIE-LABlab(48.55, -8.97, -27.92)
CIE-LCHlch(48.55, 29.32, 252.20°)
OKLaboklab(55.24% -0.0515 -0.0785)
OKLCHoklch(55.24% 0.094 236.7)
XYZxyz(14.8438, 17.2299, 36.7188)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AA2 #A25B33
analogous
#33A293 #337AA2 #3342A2
triadic
#337AA2 #A2337A #7AA233
tetradic
#337AA2 #9333A2 #A25B33 #42A233
square
#337AA2 #9333A2 #A25B33 #42A233
split-complementary
#337AA2 #A23342 #A29333
monochromatic
#163445 #245773 #337AA2 #4C9AC7 #7AB4D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337AA2#FFFFFF#000000##FFFFFF
##337AA21.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)
#6779A4
Deuteranopia (green-blind)
#586EA1
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #337aa2;
/* rgb */ color: rgb(51, 122, 162);
/* oklch */ color: oklch(55.2% 0.094 236.7);
Tailwind
colors: {
  custom: {
    50: '#78a0bd',
    500: '#337aa2',
    950: '#000000',
  },
}
SCSS
$custom: #337aa2;
$custom-light: #78a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#337aa2",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 162
  },
  "hsl": {
    "h": 201.622,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55238,
    "c": 0.09388,
    "h": 236.7
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#337AA2
secondary
#BE8E73
accent
#804CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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