#337AC9#337AC9

#337AC9 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.4% C 0.141 H 253.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#337AC9
RGBrgb(51, 122, 201)
HSLhsl(212, 60%, 49%)
HSVhsv(212, 75%, 79%)
CMYKcmyk(74.6%, 39.3%, 0%, 21.2%)
CIE-LABlab(50.50, 5.03, -47.37)
CIE-LCHlch(50.50, 47.64, 276.06°)
OKLaboklab(57.41% -0.0401 -0.1352)
OKLCHoklch(57.41% 0.141 253.5)
XYZxyz(18.8635, 18.8378, 57.8889)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AC9 #C98233
analogous
#33C5C9 #337AC9 #3733C9
triadic
#337AC9 #C9337A #7AC933
tetradic
#337AC9 #C933C5 #C98233 #33C937
square
#337AC9 #C933C5 #C98233 #33C937
split-complementary
#337AC9 #C93733 #C5C933
monochromatic
#1A3F67 #275C98 #337AC9 #6299D7 #93B9E4

Accessibility & contrast

On white

4.40
#337AC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#337AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AC9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AC9#FFFFFF#000000##000000
##337AC91.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CC
Deuteranopia (green-blind)
#3D72C7
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337ac9;
/* rgb */ color: rgb(51, 122, 201);
/* oklch */ color: oklch(57.4% 0.141 253.5);
Tailwind
colors: {
  custom: {
    50: '#7f9fda',
    500: '#337ac9',
    950: '#000000',
  },
}
SCSS
$custom: #337ac9;
$custom-light: #7f9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#337ac9",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 201
  },
  "hsl": {
    "h": 211.6,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5741,
    "c": 0.14099,
    "h": 253.5
  },
  "luminance": 0.1884
}

Semantic roles & 50–950 ramp

primary
#337AC9
secondary
#CFAE89
accent
#9845E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #337AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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