#337AD1#337AD1

#337AD1 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.9% C 0.151 H 255.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#337AD1
RGBrgb(51, 122, 209)
HSLhsl(213, 63%, 51%)
HSVhsv(213, 76%, 82%)
CMYKcmyk(75.6%, 41.6%, 0%, 18%)
CIE-LABlab(50.95, 7.98, -51.21)
CIE-LCHlch(50.95, 51.82, 278.85°)
OKLaboklab(57.91% -0.0383 -0.1464)
OKLCHoklch(57.91% 0.151 255.4)
XYZxyz(19.8291, 19.2240, 62.9748)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AD1 #D18A33
analogous
#33C9D1 #337AD1 #3B33D1
triadic
#337AD1 #D1337A #7AD133
tetradic
#337AD1 #D133C9 #D18A33 #33D13B
square
#337AD1 #D133C9 #D18A33 #33D13B
split-complementary
#337AD1 #D13B33 #C9D133
monochromatic
#194070 #255DA2 #337AD1 #659BDC #97BBE8

Accessibility & contrast

On white

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

On black

4.85
#337AD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AD1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AD1#FFFFFF#000000##000000
##337AD11.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D4
Deuteranopia (green-blind)
#3473CF
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #337ad1;
/* rgb */ color: rgb(51, 122, 209);
/* oklch */ color: oklch(57.9% 0.151 255.4);
Tailwind
colors: {
  custom: {
    50: '#809fdf',
    500: '#337ad1',
    950: '#000000',
  },
}
SCSS
$custom: #337ad1;
$custom-light: #809fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#337ad1",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 209
  },
  "hsl": {
    "h": 213.038,
    "s": 63.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57908,
    "c": 0.15136,
    "h": 255.4
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#337AD1
secondary
#D3B38D
accent
#9C42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #337AD1

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

Preview Lab → · Contrast checker → · Palette generator →

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