#337EA4#337EA4

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

Color values

HEX#337EA4
RGBrgb(51, 126, 164)
HSLhsl(200, 53%, 42%)
HSVhsv(200, 69%, 64%)
CMYKcmyk(68.9%, 23.2%, 0%, 35.7%)
CIE-LABlab(49.86, -10.58, -27.04)
CIE-LCHlch(49.86, 29.04, 248.64°)
OKLaboklab(56.31% -0.055 -0.0759)
OKLCHoklch(56.31% 0.094 234.1)
XYZxyz(15.5243, 18.3042, 37.8297)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EA4 #A45933
analogous
#33A492 #337EA4 #3346A4
triadic
#337EA4 #A4337E #7EA433
tetradic
#337EA4 #9233A4 #A45933 #46A433
square
#337EA4 #9233A4 #A45933 #46A433
split-complementary
#337EA4 #A43346 #A49233
monochromatic
#163647 #245A75 #337EA4 #4D9EC8 #7BB8D6

Accessibility & contrast

On white

4.51
#337EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##337EA4#FFFFFF#000000##000000
##337EA41.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA6
Deuteranopia (green-blind)
#5C72A3
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337ea4;
/* rgb */ color: rgb(51, 126, 164);
/* oklch */ color: oklch(56.3% 0.094 234.1);
Tailwind
colors: {
  custom: {
    50: '#78a3bf',
    500: '#337ea4',
    950: '#000000',
  },
}
SCSS
$custom: #337ea4;
$custom-light: #78a3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#337ea4",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 200.177,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56312,
    "c": 0.09378,
    "h": 234.1
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#337EA4
secondary
#BF8D74
accent
#7C4CDC
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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