#337AA5#337AA5

#337AA5 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.4% C 0.097 H 238.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#337AA5
RGBrgb(51, 122, 165)
HSLhsl(203, 53%, 42%)
HSVhsv(203, 69%, 65%)
CMYKcmyk(69.1%, 26.1%, 0%, 35.3%)
CIE-LABlab(48.68, -7.92, -29.46)
CIE-LCHlch(48.68, 30.51, 254.95°)
OKLaboklab(55.39% -0.0505 -0.0829)
OKLCHoklch(55.39% 0.097 238.7)
XYZxyz(15.1137, 17.3379, 38.1400)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AA5 #A55E33
analogous
#33A597 #337AA5 #3341A5
triadic
#337AA5 #A5337A #7AA533
tetradic
#337AA5 #9733A5 #A55E33 #41A533
square
#337AA5 #9733A5 #A55E33 #41A533
split-complementary
#337AA5 #A53341 #A59733
monochromatic
#163548 #255776 #337AA5 #4D9AC8 #7CB4D6

Accessibility & contrast

On white

4.70
#337AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#337AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337AA5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AA5#FFFFFF#000000##FFFFFF
##337AA51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337aa5;
/* rgb */ color: rgb(51, 122, 165);
/* oklch */ color: oklch(55.4% 0.097 238.7);
Tailwind
colors: {
  custom: {
    50: '#78a0c0',
    500: '#337aa5',
    950: '#000000',
  },
}
SCSS
$custom: #337aa5;
$custom-light: #78a0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#337aa5",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 165
  },
  "hsl": {
    "h": 202.632,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55389,
    "c": 0.09709,
    "h": 238.7
  },
  "luminance": 0.17339
}

Semantic roles & 50–950 ramp

primary
#337AA5
secondary
#BF9175
accent
#824CDC
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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