#337EAA#337EAA

#337EAA is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.6% C 0.100 H 238.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#337EAA
RGBrgb(51, 126, 170)
HSLhsl(202, 54%, 43%)
HSVhsv(202, 70%, 67%)
CMYKcmyk(70%, 25.9%, 0%, 33.3%)
CIE-LABlab(50.13, -8.50, -30.12)
CIE-LCHlch(50.13, 31.29, 254.23°)
OKLaboklab(56.61% -0.0529 -0.0848)
OKLCHoklch(56.61% 0.1 238)
XYZxyz(16.0790, 18.5260, 40.7509)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EAA #AA5F33
analogous
#33AA9A #337EAA #3342AA
triadic
#337EAA #AA337E #7EAA33
tetradic
#337EAA #9A33AA #AA5F33 #42AA33
square
#337EAA #9A33AA #AA5F33 #42AA33
split-complementary
#337EAA #AA3342 #AA9A33
monochromatic
#17384C #255B7B #337EAA #509DCA #7FB7D9

Accessibility & contrast

On white

4.46
#337EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#337EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EAA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EAA#FFFFFF#000000##000000
##337EAA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAC
Deuteranopia (green-blind)
#5972A9
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337eaa;
/* rgb */ color: rgb(51, 126, 170);
/* oklch */ color: oklch(56.6% 0.100 238.0);
Tailwind
colors: {
  custom: {
    50: '#79a3c3',
    500: '#337eaa',
    950: '#000000',
  },
}
SCSS
$custom: #337eaa;
$custom-light: #79a3c3;
$custom-dark: #000000;
JSON
{
  "hex": "#337eaa",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 202.185,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.09996,
    "h": 238
  },
  "luminance": 0.18528
}

Semantic roles & 50–950 ramp

primary
#337EAA
secondary
#C29377
accent
#814BDD
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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