#337ECC#337ECC

#337ECC is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.5% C 0.141 H 252.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#337ECC
RGBrgb(51, 126, 204)
HSLhsl(211, 60%, 50%)
HSVhsv(211, 75%, 80%)
CMYKcmyk(75%, 38.2%, 0%, 20%)
CIE-LABlab(51.82, 3.69, -46.98)
CIE-LCHlch(51.82, 47.12, 274.49°)
OKLaboklab(58.5% -0.0429 -0.134)
OKLCHoklch(58.5% 0.141 252.2)
XYZxyz(19.7211, 19.9829, 59.9327)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337ECC #CC8133
analogous
#33CBCC #337ECC #3433CC
triadic
#337ECC #CC337E #7ECC33
tetradic
#337ECC #CC33CB #CC8133 #33CC34
square
#337ECC #CC33CB #CC8133 #33CC34
split-complementary
#337ECC #CC3433 #CBCC33
monochromatic
#1B426A #27609B #337ECC #649DD8 #95BCE4

Accessibility & contrast

On white

4.20
#337ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#337ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337ECC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337ECC#FFFFFF#000000##000000
##337ECC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CF
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #337ecc;
/* rgb */ color: rgb(51, 126, 204);
/* oklch */ color: oklch(58.5% 0.141 252.2);
Tailwind
colors: {
  custom: {
    50: '#7fa2dc',
    500: '#337ecc',
    950: '#000000',
  },
}
SCSS
$custom: #337ecc;
$custom-light: #7fa2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#337ecc",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 210.588,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.58495,
    "c": 0.14067,
    "h": 252.2
  },
  "luminance": 0.19985
}

Semantic roles & 50–950 ramp

primary
#337ECC
secondary
#D0AE8B
accent
#9545E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #337ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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