#337DA4#337DA4

#337DA4 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.1% C 0.094 H 235.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#337DA4
RGBrgb(51, 125, 164)
HSLhsl(201, 53%, 42%)
HSVhsv(201, 69%, 64%)
CMYKcmyk(68.9%, 23.8%, 0%, 35.7%)
CIE-LABlab(49.56, -10.01, -27.52)
CIE-LCHlch(49.56, 29.28, 250.02°)
OKLaboklab(56.07% -0.054 -0.0773)
OKLCHoklch(56.07% 0.094 235.1)
XYZxyz(15.3971, 18.0497, 37.7872)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DA4 #A45A33
analogous
#33A493 #337DA4 #3345A4
triadic
#337DA4 #A4337D #7DA433
tetradic
#337DA4 #9333A4 #A45A33 #45A433
square
#337DA4 #9333A4 #A45A33 #45A433
split-complementary
#337DA4 #A43345 #A49333
monochromatic
#163647 #245975 #337DA4 #4D9DC8 #7BB7D6

Accessibility & contrast

On white

4.56
#337DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#337DA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DA4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DA4#FFFFFF#000000##000000
##337DA41.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7CA6
Deuteranopia (green-blind)
#5B71A3
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337da4;
/* rgb */ color: rgb(51, 125, 164);
/* oklch */ color: oklch(56.1% 0.094 235.1);
Tailwind
colors: {
  custom: {
    50: '#78a2bf',
    500: '#337da4',
    950: '#000000',
  },
}
SCSS
$custom: #337da4;
$custom-light: #78a2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#337da4",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 164
  },
  "hsl": {
    "h": 200.708,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56069,
    "c": 0.09429,
    "h": 235.1
  },
  "luminance": 0.18051
}

Semantic roles & 50–950 ramp

primary
#337DA4
secondary
#BF8E74
accent
#7E4CDC
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #337DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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