#337EA7#337EA7

#337EA7 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.5% C 0.097 H 236.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#337EA7
RGBrgb(51, 126, 167)
HSLhsl(201, 53%, 43%)
HSVhsv(201, 69%, 65%)
CMYKcmyk(69.5%, 24.6%, 0%, 34.5%)
CIE-LABlab(49.99, -9.54, -28.58)
CIE-LCHlch(49.99, 30.14, 251.53°)
OKLaboklab(56.46% -0.0539 -0.0804)
OKLCHoklch(56.46% 0.097 236.1)
XYZxyz(15.7984, 18.4138, 39.2733)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EA7 #A75C33
analogous
#33A796 #337EA7 #3344A7
triadic
#337EA7 #A7337E #7EA733
tetradic
#337EA7 #9633A7 #A75C33 #44A733
square
#337EA7 #9633A7 #A75C33 #44A733
split-complementary
#337EA7 #A73344 #A79633
monochromatic
#163749 #255B78 #337EA7 #4E9EC9 #7DB7D7

Accessibility & contrast

On white

4.48
#337EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#337EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EA7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EA7#FFFFFF#000000##000000
##337EA71.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DA9
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337ea7;
/* rgb */ color: rgb(51, 126, 167);
/* oklch */ color: oklch(56.5% 0.097 236.1);
Tailwind
colors: {
  custom: {
    50: '#79a3c1',
    500: '#337ea7',
    950: '#000000',
  },
}
SCSS
$custom: #337ea7;
$custom-light: #79a3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#337ea7",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 201.207,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5646,
    "c": 0.09681,
    "h": 236.1
  },
  "luminance": 0.18416
}

Semantic roles & 50–950 ramp

primary
#337EA7
secondary
#C09076
accent
#7F4BDD
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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