#337CC5#337CC5

#337CC5 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.6% C 0.134 H 251.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#337CC5
RGBrgb(51, 124, 197)
HSLhsl(210, 59%, 49%)
HSVhsv(210, 74%, 77%)
CMYKcmyk(74.1%, 37.1%, 0%, 22.7%)
CIE-LABlab(50.86, 2.34, -44.51)
CIE-LCHlch(50.86, 44.57, 273.01°)
OKLaboklab(57.62% -0.0429 -0.1268)
OKLCHoklch(57.62% 0.134 251.3)
XYZxyz(18.6472, 19.1482, 55.5257)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337CC5 #C57C33
analogous
#33C5C5 #337CC5 #3333C5
triadic
#337CC5 #C5337C #7CC533
tetradic
#337CC5 #C533C5 #C57C33 #33C533
square
#337CC5 #C533C5 #C57C33 #33C533
split-complementary
#337CC5 #C53333 #C5C533
monochromatic
#1A3F64 #265D94 #337CC5 #5F9BD6 #90B9E2

Accessibility & contrast

On white

4.35
#337CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#337CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337CC5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337CC5#FFFFFF#000000##000000
##337CC51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A80C8
Deuteranopia (green-blind)
#4473C4
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #337cc5;
/* rgb */ color: rgb(51, 124, 197);
/* oklch */ color: oklch(57.6% 0.134 251.3);
Tailwind
colors: {
  custom: {
    50: '#7ea1d7',
    500: '#337cc5',
    950: '#000000',
  },
}
SCSS
$custom: #337cc5;
$custom-light: #7ea1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#337cc5",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 197
  },
  "hsl": {
    "h": 210,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57623,
    "c": 0.13381,
    "h": 251.3
  },
  "luminance": 0.1915
}

Semantic roles & 50–950 ramp

primary
#337CC5
secondary
#CDAA87
accent
#9446E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #337CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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