#337B9B#337B9B

#337B9B is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.1% C 0.087 H 230.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#337B9B
RGBrgb(51, 123, 155)
HSLhsl(198, 50%, 40%)
HSVhsv(198, 67%, 61%)
CMYKcmyk(67.1%, 20.6%, 0%, 39.2%)
CIE-LABlab(48.55, -11.94, -23.82)
CIE-LCHlch(48.55, 26.64, 243.38°)
OKLaboklab(55.14% -0.0551 -0.0667)
OKLCHoklch(55.14% 0.087 230.4)
XYZxyz(14.3623, 17.2348, 33.5737)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B9B #9B5333
analogous
#339B87 #337B9B #33479B
triadic
#337B9B #9B337B #7B9B33
tetradic
#337B9B #87339B #9B5333 #479B33
square
#337B9B #87339B #9B5333 #479B33
split-complementary
#337B9B #9B3347 #9B8733
monochromatic
#15323F #24566D #337B9B #489DC3 #76B6D2

Accessibility & contrast

On white

4.72
#337B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#337B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B9B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B9B#FFFFFF#000000##FFFFFF
##337B9B1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B799D
Deuteranopia (green-blind)
#5C6F9B
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #337b9b;
/* rgb */ color: rgb(51, 123, 155);
/* oklch */ color: oklch(55.1% 0.087 230.4);
Tailwind
colors: {
  custom: {
    50: '#77a1b8',
    500: '#337b9b',
    950: '#000000',
  },
}
SCSS
$custom: #337b9b;
$custom-light: #77a1b8;
$custom-dark: #000000;
JSON
{
  "hex": "#337b9b",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 155
  },
  "hsl": {
    "h": 198.462,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55143,
    "c": 0.08653,
    "h": 230.4
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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