#337BA2#337BA2

#337BA2 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.5% C 0.093 H 235.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#337BA2
RGBrgb(51, 123, 162)
HSLhsl(201, 52%, 42%)
HSVhsv(201, 69%, 64%)
CMYKcmyk(68.5%, 24.1%, 0%, 36.5%)
CIE-LABlab(48.86, -9.54, -27.44)
CIE-LCHlch(48.86, 29.06, 250.82°)
OKLaboklab(55.48% -0.0526 -0.0771)
OKLCHoklch(55.48% 0.093 235.7)
XYZxyz(14.9672, 17.4768, 36.7600)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BA2 #A25A33
analogous
#33A292 #337BA2 #3344A2
triadic
#337BA2 #A2337B #7BA233
tetradic
#337BA2 #9233A2 #A25A33 #44A233
square
#337BA2 #9233A2 #A25A33 #44A233
split-complementary
#337BA2 #A23344 #A29233
monochromatic
#163445 #245873 #337BA2 #4C9BC7 #7AB5D5

Accessibility & contrast

On white

4.67
#337BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#337BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337BA2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BA2#FFFFFF#000000##FFFFFF
##337BA21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#596FA1
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #337ba2;
/* rgb */ color: rgb(51, 123, 162);
/* oklch */ color: oklch(55.5% 0.093 235.7);
Tailwind
colors: {
  custom: {
    50: '#78a1bd',
    500: '#337ba2',
    950: '#000000',
  },
}
SCSS
$custom: #337ba2;
$custom-light: #78a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#337ba2",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 201.081,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55482,
    "c": 0.09333,
    "h": 235.7
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

primary
#337BA2
secondary
#BE8D73
accent
#7F4CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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