#337A8F#337A8F

#337A8F is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.3% C 0.077 H 220.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#337A8F
RGBrgb(51, 122, 143)
HSLhsl(194, 47%, 38%)
HSVhsv(194, 64%, 56%)
CMYKcmyk(64.3%, 14.7%, 0%, 43.9%)
CIE-LABlab(47.76, -15.36, -17.99)
CIE-LCHlch(47.76, 23.66, 229.50°)
OKLaboklab(54.35% -0.0588 -0.0501)
OKLCHoklch(54.35% 0.077 220.4)
XYZxyz(13.2807, 16.6047, 28.4864)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A8F #8F4833
analogous
#338F76 #337A8F #334C8F
triadic
#337A8F #8F337A #7A8F33
tetradic
#337A8F #76338F #8F4833 #4C8F33
square
#337A8F #76338F #8F4833 #4C8F33
split-complementary
#337A8F #8F334C #8F7633
monochromatic
#132D35 #235462 #337A8F #43A0BC #70B7CC

Accessibility & contrast

On white

4.86
#337A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#337A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A8F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A8F#FFFFFF#000000##FFFFFF
##337A8F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7790
Deuteranopia (green-blind)
#606D8F
Tritanopia (blue-blind)
#008181
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #337a8f;
/* rgb */ color: rgb(51, 122, 143);
/* oklch */ color: oklch(54.3% 0.077 220.4);
Tailwind
colors: {
  custom: {
    50: '#75a0af',
    500: '#337a8f',
    950: '#000000',
  },
}
SCSS
$custom: #337a8f;
$custom-light: #75a0af;
$custom-dark: #000000;
JSON
{
  "hex": "#337a8f",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 143
  },
  "hsl": {
    "h": 193.696,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.07721,
    "h": 220.4
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#337A8F
secondary
#B47B6A
accent
#6F51D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #337A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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