#337D9B#337D9B

#337D9B is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.6% C 0.086 H 228.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#337D9B
RGBrgb(51, 125, 155)
HSLhsl(197, 50%, 40%)
HSVhsv(197, 67%, 61%)
CMYKcmyk(67.1%, 19.4%, 0%, 39.2%)
CIE-LABlab(49.17, -13.07, -22.86)
CIE-LCHlch(49.17, 26.33, 240.25°)
OKLaboklab(55.64% -0.0573 -0.0639)
OKLCHoklch(55.64% 0.086 228.1)
XYZxyz(14.6129, 17.7360, 33.6573)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D9B #9B5133
analogous
#339B85 #337D9B #33499B
triadic
#337D9B #9B337D #7D9B33
tetradic
#337D9B #85339B #9B5133 #499B33
square
#337D9B #85339B #9B5133 #499B33
split-complementary
#337D9B #9B3349 #9B8533
monochromatic
#15333F #24586D #337D9B #48A0C3 #76B8D2

Accessibility & contrast

On white

4.62
#337D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#337D9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337D9B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D9B#FFFFFF#000000##FFFFFF
##337D9B1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7B9D
Deuteranopia (green-blind)
#5F709B
Tritanopia (blue-blind)
#008687
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337d9b;
/* rgb */ color: rgb(51, 125, 155);
/* oklch */ color: oklch(55.6% 0.086 228.1);
Tailwind
colors: {
  custom: {
    50: '#77a2b8',
    500: '#337d9b',
    950: '#000000',
  },
}
SCSS
$custom: #337d9b;
$custom-light: #77a2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#337d9b",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 155
  },
  "hsl": {
    "h": 197.308,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55638,
    "c": 0.08586,
    "h": 228.1
  },
  "luminance": 0.17738
}

Semantic roles & 50–950 ramp

primary
#337D9B
secondary
#BA856F
accent
#764EDA
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #337D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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