#337AD2#337AD2

#337AD2 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 58.0% C 0.153 H 255.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#337AD2
RGBrgb(51, 122, 210)
HSLhsl(213, 64%, 51%)
HSVhsv(213, 76%, 82%)
CMYKcmyk(75.7%, 41.9%, 0%, 17.6%)
CIE-LABlab(51.01, 8.35, -51.68)
CIE-LCHlch(51.01, 52.35, 279.17°)
OKLaboklab(57.97% -0.0381 -0.1478)
OKLCHoklch(57.97% 0.153 255.6)
XYZxyz(19.9533, 19.2737, 63.6289)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AD2 #D28B33
analogous
#33C9D2 #337AD2 #3B33D2
triadic
#337AD2 #D2337A #7AD233
tetradic
#337AD2 #D233C9 #D28B33 #33D23B
square
#337AD2 #D233C9 #D28B33 #33D23B
split-complementary
#337AD2 #D23B33 #C9D233
monochromatic
#194172 #245DA4 #337AD2 #659BDD #97BBE8

Accessibility & contrast

On white

4.33
#337AD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#337AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AD2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AD2#FFFFFF#000000##000000
##337AD21.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F81D5
Deuteranopia (green-blind)
#3373D0
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #337ad2;
/* rgb */ color: rgb(51, 122, 210);
/* oklch */ color: oklch(58.0% 0.153 255.6);
Tailwind
colors: {
  custom: {
    50: '#809fe0',
    500: '#337ad2',
    950: '#000000',
  },
}
SCSS
$custom: #337ad2;
$custom-light: #809fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#337ad2",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 210
  },
  "hsl": {
    "h": 213.208,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57971,
    "c": 0.15265,
    "h": 255.6
  },
  "luminance": 0.19276
}

Semantic roles & 50–950 ramp

primary
#337AD2
secondary
#D4B48D
accent
#9D41E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #337AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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