#337AA6#337AA6

#337AA6 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.4% C 0.098 H 239.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#337AA6
RGBrgb(51, 122, 166)
HSLhsl(203, 53%, 43%)
HSVhsv(203, 69%, 65%)
CMYKcmyk(69.3%, 26.5%, 0%, 34.9%)
CIE-LABlab(48.73, -7.57, -29.97)
CIE-LCHlch(48.73, 30.92, 255.82°)
OKLaboklab(55.44% -0.0501 -0.0844)
OKLCHoklch(55.44% 0.098 239.3)
XYZxyz(15.2050, 17.3744, 38.6213)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AA6 #A65F33
analogous
#33A699 #337AA6 #3340A6
triadic
#337AA6 #A6337A #7AA633
tetradic
#337AA6 #9933A6 #A65F33 #40A633
square
#337AA6 #9933A6 #A65F33 #40A633
split-complementary
#337AA6 #A63340 #A69933
monochromatic
#163548 #255877 #337AA6 #4E9AC9 #7CB4D7

Accessibility & contrast

On white

4.69
#337AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337AA6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AA6#FFFFFF#000000##FFFFFF
##337AA61.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667AA8
Deuteranopia (green-blind)
#566FA5
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #337aa6;
/* rgb */ color: rgb(51, 122, 166);
/* oklch */ color: oklch(55.4% 0.098 239.3);
Tailwind
colors: {
  custom: {
    50: '#78a0c0',
    500: '#337aa6',
    950: '#000000',
  },
}
SCSS
$custom: #337aa6;
$custom-light: #78a0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#337aa6",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 166
  },
  "hsl": {
    "h": 202.957,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5544,
    "c": 0.09819,
    "h": 239.3
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

primary
#337AA6
secondary
#C09275
accent
#834BDC
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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