#337A9B#337A9B

#337A9B is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.9% C 0.087 H 231.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#337A9B
RGBrgb(51, 122, 155)
HSLhsl(199, 50%, 40%)
HSVhsv(199, 67%, 61%)
CMYKcmyk(67.1%, 21.3%, 0%, 39.2%)
CIE-LABlab(48.24, -11.37, -24.29)
CIE-LCHlch(48.24, 26.82, 244.93°)
OKLaboklab(54.9% -0.0541 -0.0681)
OKLCHoklch(54.9% 0.087 231.5)
XYZxyz(14.2388, 16.9879, 33.5326)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A9B #9B5433
analogous
#339B88 #337A9B #33469B
triadic
#337A9B #9B337A #7A9B33
tetradic
#337A9B #88339B #9B5433 #469B33
square
#337A9B #88339B #9B5433 #469B33
split-complementary
#337A9B #9B3346 #9B8833
monochromatic
#15323F #24566D #337A9B #489CC3 #76B5D2

Accessibility & contrast

On white

4.78
#337A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#337A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A9B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A9B#FFFFFF#000000##FFFFFF
##337A9B1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A789D
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #337a9b;
/* rgb */ color: rgb(51, 122, 155);
/* oklch */ color: oklch(54.9% 0.087 231.5);
Tailwind
colors: {
  custom: {
    50: '#77a0b8',
    500: '#337a9b',
    950: '#000000',
  },
}
SCSS
$custom: #337a9b;
$custom-light: #77a0b8;
$custom-dark: #000000;
JSON
{
  "hex": "#337a9b",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 155
  },
  "hsl": {
    "h": 199.038,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.08692,
    "h": 231.5
  },
  "luminance": 0.16989
}

Semantic roles & 50–950 ramp

primary
#337A9B
secondary
#BA876F
accent
#7A4EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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