#337E9D#337E9D

#337E9D is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.087 H 228.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#337E9D
RGBrgb(51, 126, 157)
HSLhsl(198, 51%, 41%)
HSVhsv(198, 68%, 62%)
CMYKcmyk(67.5%, 19.7%, 0%, 38.4%)
CIE-LABlab(49.57, -12.96, -23.42)
CIE-LCHlch(49.57, 26.77, 241.05°)
OKLaboklab(55.98% -0.0576 -0.0655)
OKLCHoklch(55.98% 0.087 228.7)
XYZxyz(14.9095, 18.0582, 34.5916)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E9D #9D5233
analogous
#339D87 #337E9D #33499D
triadic
#337E9D #9D337E #7E9D33
tetradic
#337E9D #87339D #9D5233 #499D33
square
#337E9D #87339D #9D5233 #499D33
split-complementary
#337E9D #9D3349 #9D8733
monochromatic
#153441 #24596F #337E9D #49A0C4 #77B8D3

Accessibility & contrast

On white

4.55
#337E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#337E9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337E9D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E9D#FFFFFF#000000##000000
##337E9D1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7C9F
Deuteranopia (green-blind)
#5F719D
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337e9d;
/* rgb */ color: rgb(51, 126, 157);
/* oklch */ color: oklch(56.0% 0.087 228.7);
Tailwind
colors: {
  custom: {
    50: '#77a3ba',
    500: '#337e9d',
    950: '#000000',
  },
}
SCSS
$custom: #337e9d;
$custom-light: #77a3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#337e9d",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 157
  },
  "hsl": {
    "h": 197.547,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55978,
    "c": 0.08727,
    "h": 228.7
  },
  "luminance": 0.1806
}

Semantic roles & 50–950 ramp

primary
#337E9D
secondary
#BB8670
accent
#774DDA
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #337E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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