#337AC7#337AC7

#337AC7 is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.3% C 0.138 H 253.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#337AC7
RGBrgb(51, 122, 199)
HSLhsl(211, 59%, 49%)
HSVhsv(211, 74%, 78%)
CMYKcmyk(74.4%, 38.7%, 0%, 22%)
CIE-LABlab(50.39, 4.29, -46.41)
CIE-LCHlch(50.39, 46.60, 275.28°)
OKLaboklab(57.29% -0.0405 -0.1323)
OKLCHoklch(57.29% 0.138 253)
XYZxyz(18.6297, 18.7443, 56.6579)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AC7 #C78033
analogous
#33C4C7 #337AC7 #3633C7
triadic
#337AC7 #C7337A #7AC733
tetradic
#337AC7 #C733C4 #C78033 #33C736
square
#337AC7 #C733C4 #C78033 #33C736
split-complementary
#337AC7 #C73633 #C4C733
monochromatic
#1A3E66 #275C96 #337AC7 #6199D6 #91B9E3

Accessibility & contrast

On white

4.42
#337AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#337AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AC7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AC7#FFFFFF#000000##000000
##337AC71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FCA
Deuteranopia (green-blind)
#3F72C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337ac7;
/* rgb */ color: rgb(51, 122, 199);
/* oklch */ color: oklch(57.3% 0.138 253.0);
Tailwind
colors: {
  custom: {
    50: '#7ea0d8',
    500: '#337ac7',
    950: '#000000',
  },
}
SCSS
$custom: #337ac7;
$custom-light: #7ea0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#337ac7",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 199
  },
  "hsl": {
    "h": 211.216,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57288,
    "c": 0.13841,
    "h": 253
  },
  "luminance": 0.18746
}

Semantic roles & 50–950 ramp

primary
#337AC7
secondary
#CEAC88
accent
#9745E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #337AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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