#337AA8#337AA8

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

Color values

HEX#337AA8
RGBrgb(51, 122, 168)
HSLhsl(204, 53%, 43%)
HSVhsv(204, 70%, 66%)
CMYKcmyk(69.6%, 27.4%, 0%, 34.1%)
CIE-LABlab(48.82, -6.87, -31.00)
CIE-LCHlch(48.82, 31.75, 257.49°)
OKLaboklab(55.54% -0.0494 -0.0874)
OKLCHoklch(55.54% 0.1 240.5)
XYZxyz(15.3899, 17.4484, 39.5950)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AA8 #A86133
analogous
#33A89C #337AA8 #333FA8
triadic
#337AA8 #A8337A #7AA833
tetradic
#337AA8 #9C33A8 #A86133 #3FA833
square
#337AA8 #9C33A8 #A86133 #3FA833
split-complementary
#337AA8 #A8333F #A89C33
monochromatic
#16364A #255879 #337AA8 #4F99C9 #7EB4D8

Accessibility & contrast

On white

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

On black

4.49
#337AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337AA8#FFFFFF#000000##FFFFFF
##337AA81.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657AAA
Deuteranopia (green-blind)
#556FA7
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #337aa8;
/* rgb */ color: rgb(51, 122, 168);
/* oklch */ color: oklch(55.5% 0.100 240.5);
Tailwind
colors: {
  custom: {
    50: '#79a0c2',
    500: '#337aa8',
    950: '#000000',
  },
}
SCSS
$custom: #337aa8;
$custom-light: #79a0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#337aa8",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 168
  },
  "hsl": {
    "h": 203.59,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55543,
    "c": 0.10041,
    "h": 240.5
  },
  "luminance": 0.1745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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