#337A8D#337A8D

#337A8D is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.076 H 218.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#337A8D
RGBrgb(51, 122, 141)
HSLhsl(193, 47%, 38%)
HSVhsv(193, 64%, 55%)
CMYKcmyk(63.8%, 13.5%, 0%, 44.7%)
CIE-LABlab(47.68, -16.01, -16.93)
CIE-LCHlch(47.68, 23.30, 226.59°)
OKLaboklab(54.26% -0.0596 -0.0471)
OKLCHoklch(54.26% 0.076 218.3)
XYZxyz(13.1305, 16.5446, 27.6956)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A8D #8D4633
analogous
#338D73 #337A8D #334D8D
triadic
#337A8D #8D337A #7A8D33
tetradic
#337A8D #73338D #8D4633 #4D8D33
square
#337A8D #73338D #8D4633 #4D8D33
split-complementary
#337A8D #8D334D #8D7333
monochromatic
#122C33 #235360 #337A8D #43A1BA #6FB8CB

Accessibility & contrast

On white

4.87
#337A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#337A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A8D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A8D#FFFFFF#000000##FFFFFF
##337A8D1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E778E
Deuteranopia (green-blind)
#616D8D
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #337a8d;
/* rgb */ color: rgb(51, 122, 141);
/* oklch */ color: oklch(54.3% 0.076 218.3);
Tailwind
colors: {
  custom: {
    50: '#75a0ae',
    500: '#337a8d',
    950: '#000000',
  },
}
SCSS
$custom: #337a8d;
$custom-light: #75a0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#337a8d",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 141
  },
  "hsl": {
    "h": 192.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.07595,
    "h": 218.3
  },
  "luminance": 0.16546
}

Semantic roles & 50–950 ramp

primary
#337A8D
secondary
#B37869
accent
#6D51D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #337A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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