#337EC2#337EC2

#337EC2 is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 57.9% C 0.128 H 249.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#337EC2
RGBrgb(51, 126, 194)
HSLhsl(209, 58%, 48%)
HSVhsv(209, 74%, 76%)
CMYKcmyk(73.7%, 35.1%, 0%, 23.9%)
CIE-LABlab(51.29, 0.04, -42.12)
CIE-LCHlch(51.29, 42.12, 270.06°)
OKLaboklab(57.91% -0.0455 -0.1197)
OKLCHoklch(57.91% 0.128 249.2)
XYZxyz(18.5600, 19.5185, 53.8177)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EC2 #C27733
analogous
#33C2BE #337EC2 #3337C2
triadic
#337EC2 #C2337E #7EC233
tetradic
#337EC2 #BE33C2 #C27733 #37C233
square
#337EC2 #BE33C2 #C27733 #37C233
split-complementary
#337EC2 #C23337 #C2BE33
monochromatic
#1A3F61 #265F92 #337EC2 #5E9CD5 #8EBAE1

Accessibility & contrast

On white

4.28
#337EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#337EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EC2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EC2#FFFFFF#000000##000000
##337EC21.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F81C5
Deuteranopia (green-blind)
#4A74C1
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #337ec2;
/* rgb */ color: rgb(51, 126, 194);
/* oklch */ color: oklch(57.9% 0.128 249.2);
Tailwind
colors: {
  custom: {
    50: '#7da3d5',
    500: '#337ec2',
    950: '#000000',
  },
}
SCSS
$custom: #337ec2;
$custom-light: #7da3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#337ec2",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 208.531,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57907,
    "c": 0.12808,
    "h": 249.2
  },
  "luminance": 0.19521
}

Semantic roles & 50–950 ramp

primary
#337EC2
secondary
#CCA785
accent
#9046E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #337EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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