#337AA7#337AA7

#337AA7 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.5% C 0.099 H 239.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#337AA7
RGBrgb(51, 122, 167)
HSLhsl(203, 53%, 43%)
HSVhsv(203, 69%, 65%)
CMYKcmyk(69.5%, 26.9%, 0%, 34.5%)
CIE-LABlab(48.77, -7.22, -30.49)
CIE-LCHlch(48.77, 31.33, 256.67°)
OKLaboklab(55.49% -0.0498 -0.0859)
OKLCHoklch(55.49% 0.099 239.9)
XYZxyz(15.2971, 17.4112, 39.1062)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AA7 #A76033
analogous
#33A79A #337AA7 #3340A7
triadic
#337AA7 #A7337A #7AA733
tetradic
#337AA7 #9A33A7 #A76033 #40A733
square
#337AA7 #9A33A7 #A76033 #40A733
split-complementary
#337AA7 #A73340 #A79A33
monochromatic
#163649 #255878 #337AA7 #4E99C9 #7DB4D7

Accessibility & contrast

On white

4.68
#337AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#337AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337AA7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AA7#FFFFFF#000000##FFFFFF
##337AA71.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657AA9
Deuteranopia (green-blind)
#556FA6
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #337aa7;
/* rgb */ color: rgb(51, 122, 167);
/* oklch */ color: oklch(55.5% 0.099 239.9);
Tailwind
colors: {
  custom: {
    50: '#78a0c1',
    500: '#337aa7',
    950: '#000000',
  },
}
SCSS
$custom: #337aa7;
$custom-light: #78a0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#337aa7",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 167
  },
  "hsl": {
    "h": 203.276,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55492,
    "c": 0.09929,
    "h": 239.9
  },
  "luminance": 0.17413
}

Semantic roles & 50–950 ramp

primary
#337AA7
secondary
#C09376
accent
#844BDD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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