#337E9B#337E9B

#337E9B is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.9% C 0.086 H 227.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#337E9B
RGBrgb(51, 126, 155)
HSLhsl(197, 50%, 40%)
HSVhsv(197, 67%, 61%)
CMYKcmyk(67.1%, 18.7%, 0%, 39.2%)
CIE-LABlab(49.48, -13.63, -22.38)
CIE-LCHlch(49.48, 26.20, 238.66°)
OKLaboklab(55.89% -0.0584 -0.0626)
OKLCHoklch(55.89% 0.086 227)
XYZxyz(14.7401, 17.9905, 33.6997)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E9B #9B5033
analogous
#339B84 #337E9B #334A9B
triadic
#337E9B #9B337E #7E9B33
tetradic
#337E9B #84339B #9B5033 #4A9B33
square
#337E9B #84339B #9B5033 #4A9B33
split-complementary
#337E9B #9B334A #9B8433
monochromatic
#15333F #24596D #337E9B #48A1C3 #76B8D2

Accessibility & contrast

On white

4.57
#337E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#337E9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337E9B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E9B#FFFFFF#000000##000000
##337E9B1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7C9C
Deuteranopia (green-blind)
#60719B
Tritanopia (blue-blind)
#008687
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337e9b;
/* rgb */ color: rgb(51, 126, 155);
/* oklch */ color: oklch(55.9% 0.086 227.0);
Tailwind
colors: {
  custom: {
    50: '#77a3b8',
    500: '#337e9b',
    950: '#000000',
  },
}
SCSS
$custom: #337e9b;
$custom-light: #77a3b8;
$custom-dark: #000000;
JSON
{
  "hex": "#337e9b",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 155
  },
  "hsl": {
    "h": 196.731,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55886,
    "c": 0.08559,
    "h": 227
  },
  "luminance": 0.17992
}

Semantic roles & 50–950 ramp

primary
#337E9B
secondary
#BA846F
accent
#754EDA
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #337E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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