#337F9D#337F9D

#337F9D is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.087 H 227.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#337F9D
RGBrgb(51, 127, 157)
HSLhsl(197, 51%, 41%)
HSVhsv(197, 68%, 62%)
CMYKcmyk(67.5%, 19.1%, 0%, 38.4%)
CIE-LABlab(49.88, -13.52, -22.95)
CIE-LCHlch(49.88, 26.63, 239.49°)
OKLaboklab(56.23% -0.0587 -0.0642)
OKLCHoklch(56.23% 0.087 227.5)
XYZxyz(15.0380, 18.3153, 34.6344)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F9D #9D5133
analogous
#339D86 #337F9D #334A9D
triadic
#337F9D #9D337F #7F9D33
tetradic
#337F9D #86339D #9D5133 #4A9D33
square
#337F9D #86339D #9D5133 #4A9D33
split-complementary
#337F9D #9D334A #9D8633
monochromatic
#153441 #245A6F #337F9D #49A1C4 #77B9D3

Accessibility & contrast

On white

4.50
#337F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#337F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337F9D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F9D#FFFFFF#000000##000000
##337F9D1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7D9F
Deuteranopia (green-blind)
#60729D
Tritanopia (blue-blind)
#008889
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337f9d;
/* rgb */ color: rgb(51, 127, 157);
/* oklch */ color: oklch(56.2% 0.087 227.5);
Tailwind
colors: {
  custom: {
    50: '#77a4ba',
    500: '#337f9d',
    950: '#000000',
  },
}
SCSS
$custom: #337f9d;
$custom-light: #77a4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#337f9d",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 157
  },
  "hsl": {
    "h": 196.981,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56226,
    "c": 0.08698,
    "h": 227.5
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#337F9D
secondary
#BB8670
accent
#754DDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #337F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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