#337AA1#337AA1

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

Color values

HEX#337AA1
RGBrgb(51, 122, 161)
HSLhsl(201, 52%, 42%)
HSVhsv(201, 68%, 63%)
CMYKcmyk(68.3%, 24.2%, 0%, 36.9%)
CIE-LABlab(48.50, -9.31, -27.40)
CIE-LCHlch(48.50, 28.94, 251.23°)
OKLaboklab(55.19% -0.0519 -0.077)
OKLCHoklch(55.19% 0.093 236)
XYZxyz(14.7553, 17.1945, 36.2525)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AA1 #A15A33
analogous
#33A191 #337AA1 #3343A1
triadic
#337AA1 #A1337A #7AA133
tetradic
#337AA1 #9133A1 #A15A33 #43A133
square
#337AA1 #9133A1 #A15A33 #43A133
split-complementary
#337AA1 #A13343 #A19133
monochromatic
#163444 #245773 #337AA1 #4B9AC6 #7AB4D5

Accessibility & contrast

On white

4.73
#337AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#337AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337AA1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AA1#FFFFFF#000000##FFFFFF
##337AA11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6779A3
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #337aa1;
/* rgb */ color: rgb(51, 122, 161);
/* oklch */ color: oklch(55.2% 0.093 236.0);
Tailwind
colors: {
  custom: {
    50: '#78a0bd',
    500: '#337aa1',
    950: '#000000',
  },
}
SCSS
$custom: #337aa1;
$custom-light: #78a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#337aa1",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 161
  },
  "hsl": {
    "h": 201.273,
    "s": 51.887,
    "l": 41.569
  },
  "oklch": {
    "l": 0.55189,
    "c": 0.09284,
    "h": 236
  },
  "luminance": 0.17196
}

Semantic roles & 50–950 ramp

primary
#337AA1
secondary
#BD8D72
accent
#7F4CDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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