#337BAB#337BAB

#337BAB is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.103 H 241.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#337BAB
RGBrgb(51, 123, 171)
HSLhsl(204, 54%, 44%)
HSVhsv(204, 70%, 67%)
CMYKcmyk(70.2%, 28.1%, 0%, 32.9%)
CIE-LABlab(49.26, -6.41, -32.05)
CIE-LCHlch(49.26, 32.68, 258.70°)
OKLaboklab(55.94% -0.0495 -0.0904)
OKLCHoklch(55.94% 0.103 241.3)
XYZxyz(15.7961, 17.8083, 41.1250)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BAB #AB6333
analogous
#33AB9F #337BAB #333FAB
triadic
#337BAB #AB337B #7BAB33
tetradic
#337BAB #9F33AB #AB6333 #3FAB33
square
#337BAB #9F33AB #AB6333 #3FAB33
split-complementary
#337BAB #AB333F #AB9F33
monochromatic
#17374D #25597C #337BAB #509ACB #7FB5D9

Accessibility & contrast

On white

4.60
#337BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#337BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337BAB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BAB#FFFFFF#000000##FFFFFF
##337BAB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657CAD
Deuteranopia (green-blind)
#5570AA
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337bab;
/* rgb */ color: rgb(51, 123, 171);
/* oklch */ color: oklch(55.9% 0.103 241.3);
Tailwind
colors: {
  custom: {
    50: '#79a1c4',
    500: '#337bab',
    950: '#000000',
  },
}
SCSS
$custom: #337bab;
$custom-light: #79a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#337bab",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 204,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5594,
    "c": 0.10308,
    "h": 241.3
  },
  "luminance": 0.1781
}

Semantic roles & 50–950 ramp

primary
#337BAB
secondary
#C29578
accent
#854ADD
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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