#337FA4#337FA4

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

Color values

HEX#337FA4
RGBrgb(51, 127, 164)
HSLhsl(200, 53%, 42%)
HSVhsv(200, 69%, 64%)
CMYKcmyk(68.9%, 22.6%, 0%, 35.7%)
CIE-LABlab(50.17, -11.15, -26.57)
CIE-LCHlch(50.17, 28.81, 247.23°)
OKLaboklab(56.56% -0.0561 -0.0746)
OKLCHoklch(56.56% 0.093 233.1)
XYZxyz(15.6528, 18.5612, 37.8725)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FA4 #A45833
analogous
#33A491 #337FA4 #3347A4
triadic
#337FA4 #A4337F #7FA433
tetradic
#337FA4 #9133A4 #A45833 #47A433
square
#337FA4 #9133A4 #A45833 #47A433
split-complementary
#337FA4 #A43347 #A49133
monochromatic
#163747 #245B75 #337FA4 #4D9FC8 #7BB8D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337FA4#FFFFFF#000000##000000
##337FA41.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)
#6D7EA6
Deuteranopia (green-blind)
#5D72A3
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337fa4;
/* rgb */ color: rgb(51, 127, 164);
/* oklch */ color: oklch(56.6% 0.093 233.1);
Tailwind
colors: {
  custom: {
    50: '#78a4bf',
    500: '#337fa4',
    950: '#000000',
  },
}
SCSS
$custom: #337fa4;
$custom-light: #78a4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#337fa4",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 199.646,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.0933,
    "h": 233.1
  },
  "luminance": 0.18563
}

Semantic roles & 50–950 ramp

primary
#337FA4
secondary
#BF8C74
accent
#7B4CDC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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