#337BA4#337BA4

#337BA4 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.6% C 0.095 H 237.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#337BA4
RGBrgb(51, 123, 164)
HSLhsl(202, 53%, 42%)
HSVhsv(202, 69%, 64%)
CMYKcmyk(68.9%, 25%, 0%, 35.7%)
CIE-LABlab(48.94, -8.85, -28.47)
CIE-LCHlch(48.94, 29.82, 252.73°)
OKLaboklab(55.58% -0.0519 -0.0801)
OKLCHoklch(55.58% 0.095 237.1)
XYZxyz(15.1464, 17.5484, 37.7037)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BA4 #A45C33
analogous
#33A495 #337BA4 #3343A4
triadic
#337BA4 #A4337B #7BA433
tetradic
#337BA4 #9533A4 #A45C33 #43A433
square
#337BA4 #9533A4 #A45C33 #43A433
split-complementary
#337BA4 #A43343 #A49533
monochromatic
#163547 #245875 #337BA4 #4D9BC8 #7BB5D6

Accessibility & contrast

On white

4.66
#337BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#337BA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337BA4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BA4#FFFFFF#000000##FFFFFF
##337BA41.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687BA6
Deuteranopia (green-blind)
#586FA3
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #337ba4;
/* rgb */ color: rgb(51, 123, 164);
/* oklch */ color: oklch(55.6% 0.095 237.1);
Tailwind
colors: {
  custom: {
    50: '#78a1bf',
    500: '#337ba4',
    950: '#000000',
  },
}
SCSS
$custom: #337ba4;
$custom-light: #78a1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#337ba4",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 164
  },
  "hsl": {
    "h": 201.77,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55582,
    "c": 0.09541,
    "h": 237.1
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#337BA4
secondary
#BF8F74
accent
#804CDC
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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