#337EA6#337EA6

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

Color values

HEX#337EA6
RGBrgb(51, 126, 166)
HSLhsl(201, 53%, 43%)
HSVhsv(201, 69%, 65%)
CMYKcmyk(69.3%, 24.1%, 0%, 34.9%)
CIE-LABlab(49.95, -9.89, -28.07)
CIE-LCHlch(49.95, 29.76, 250.59°)
OKLaboklab(56.41% -0.0543 -0.0789)
OKLCHoklch(56.41% 0.096 235.5)
XYZxyz(15.7063, 18.3770, 38.7884)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EA6 #A65B33
analogous
#33A695 #337EA6 #3344A6
triadic
#337EA6 #A6337E #7EA633
tetradic
#337EA6 #9533A6 #A65B33 #44A633
square
#337EA6 #9533A6 #A65B33 #44A633
split-complementary
#337EA6 #A63344 #A69533
monochromatic
#163748 #255A77 #337EA6 #4E9EC9 #7CB7D7

Accessibility & contrast

On white

4.49
#337EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##337EA6#FFFFFF#000000##000000
##337EA61.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA8
Deuteranopia (green-blind)
#5B72A5
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337ea6;
/* rgb */ color: rgb(51, 126, 166);
/* oklch */ color: oklch(56.4% 0.096 235.5);
Tailwind
colors: {
  custom: {
    50: '#78a3c0',
    500: '#337ea6',
    950: '#000000',
  },
}
SCSS
$custom: #337ea6;
$custom-light: #78a3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#337ea6",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 166
  },
  "hsl": {
    "h": 200.87,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.09579,
    "h": 235.5
  },
  "luminance": 0.18379
}

Semantic roles & 50–950 ramp

primary
#337EA6
secondary
#C08F75
accent
#7E4BDC
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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