#337DAB#337DAB

#337DAB is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.4% C 0.102 H 239.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#337DAB
RGBrgb(51, 125, 171)
HSLhsl(203, 54%, 44%)
HSVhsv(203, 70%, 67%)
CMYKcmyk(70.2%, 26.9%, 0%, 32.9%)
CIE-LABlab(49.87, -7.57, -31.10)
CIE-LCHlch(49.87, 32.01, 256.31°)
OKLaboklab(56.42% -0.0515 -0.0877)
OKLCHoklch(56.42% 0.102 239.5)
XYZxyz(16.0467, 18.3096, 41.2086)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DAB #AB6133
analogous
#33AB9D #337DAB #3341AB
triadic
#337DAB #AB337D #7DAB33
tetradic
#337DAB #9D33AB #AB6133 #41AB33
square
#337DAB #9D33AB #AB6133 #41AB33
split-complementary
#337DAB #AB3341 #AB9D33
monochromatic
#17384D #255B7C #337DAB #509CCB #7FB7D9

Accessibility & contrast

On white

4.50
#337DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#337DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DAB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DAB#FFFFFF#000000##000000
##337DAB1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAD
Deuteranopia (green-blind)
#5771AA
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337dab;
/* rgb */ color: rgb(51, 125, 171);
/* oklch */ color: oklch(56.4% 0.102 239.5);
Tailwind
colors: {
  custom: {
    50: '#79a2c4',
    500: '#337dab',
    950: '#000000',
  },
}
SCSS
$custom: #337dab;
$custom-light: #79a2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#337dab",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 171
  },
  "hsl": {
    "h": 203,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5642,
    "c": 0.10169,
    "h": 239.5
  },
  "luminance": 0.18311
}

Semantic roles & 50–950 ramp

primary
#337DAB
secondary
#C29478
accent
#834ADD
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #337DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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