#337ECA#337ECA

#337ECA is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.4% C 0.138 H 251.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#337ECA
RGBrgb(51, 126, 202)
HSLhsl(210, 60%, 50%)
HSVhsv(210, 75%, 79%)
CMYKcmyk(74.8%, 37.6%, 0%, 20.8%)
CIE-LABlab(51.71, 2.96, -46.01)
CIE-LCHlch(51.71, 46.11, 273.68°)
OKLaboklab(58.38% -0.0434 -0.1311)
OKLCHoklch(58.38% 0.138 251.7)
XYZxyz(19.4828, 19.8876, 58.6775)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337ECA #CA7F33
analogous
#33CACA #337ECA #3433CA
triadic
#337ECA #CA337E #7ECA33
tetradic
#337ECA #CA33CA #CA7F33 #33CA34
square
#337ECA #CA33CA #CA7F33 #33CA34
split-complementary
#337ECA #CA3433 #CACA33
monochromatic
#1A4168 #276099 #337ECA #639DD8 #94BBE4

Accessibility & contrast

On white

4.22
#337ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#337ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337ECA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337ECA#FFFFFF#000000##000000
##337ECA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #337eca;
/* rgb */ color: rgb(51, 126, 202);
/* oklch */ color: oklch(58.4% 0.138 251.7);
Tailwind
colors: {
  custom: {
    50: '#7fa2da',
    500: '#337eca',
    950: '#000000',
  },
}
SCSS
$custom: #337eca;
$custom-light: #7fa2da;
$custom-dark: #000000;
JSON
{
  "hex": "#337eca",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 210.199,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58375,
    "c": 0.13813,
    "h": 251.7
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#337ECA
secondary
#CFAD8A
accent
#9445E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #337ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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