#337A9A#337A9A

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

Color values

HEX#337A9A
RGBrgb(51, 122, 154)
HSLhsl(199, 50%, 40%)
HSVhsv(199, 67%, 60%)
CMYKcmyk(66.9%, 20.8%, 0%, 39.6%)
CIE-LABlab(48.20, -11.71, -23.77)
CIE-LCHlch(48.20, 26.50, 243.79°)
OKLaboklab(54.85% -0.0544 -0.0666)
OKLCHoklch(54.85% 0.086 230.7)
XYZxyz(14.1552, 16.9545, 33.0921)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A9A #9A5333
analogous
#339A87 #337A9A #33469A
triadic
#337A9A #9A337A #7A9A33
tetradic
#337A9A #87339A #9A5333 #469A33
square
#337A9A #87339A #9A5333 #469A33
split-complementary
#337A9A #9A3346 #9A8733
monochromatic
#15313E #24566C #337A9A #489CC2 #76B5D2

Accessibility & contrast

On white

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

On black

4.39
#337A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337A9A#FFFFFF#000000##FFFFFF
##337A9A1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A789C
Deuteranopia (green-blind)
#5C6E9A
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #337a9a;
/* rgb */ color: rgb(51, 122, 154);
/* oklch */ color: oklch(54.8% 0.086 230.7);
Tailwind
colors: {
  custom: {
    50: '#77a0b8',
    500: '#337a9a',
    950: '#000000',
  },
}
SCSS
$custom: #337a9a;
$custom-light: #77a0b8;
$custom-dark: #000000;
JSON
{
  "hex": "#337a9a",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 154
  },
  "hsl": {
    "h": 198.641,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54849,
    "c": 0.08599,
    "h": 230.7
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#337A9A
secondary
#BA866F
accent
#794EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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