#337EC1#337EC1

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

Color values

HEX#337EC1
RGBrgb(51, 126, 193)
HSLhsl(208, 58%, 48%)
HSVhsv(208, 74%, 76%)
CMYKcmyk(73.6%, 34.7%, 0%, 24.3%)
CIE-LABlab(51.24, -0.32, -41.63)
CIE-LCHlch(51.24, 41.63, 269.56°)
OKLaboklab(57.85% -0.0458 -0.1183)
OKLCHoklch(57.85% 0.127 248.8)
XYZxyz(18.4481, 19.4737, 53.2283)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EC1 #C17633
analogous
#33C1BD #337EC1 #3337C1
triadic
#337EC1 #C1337E #7EC133
tetradic
#337EC1 #BD33C1 #C17633 #37C133
square
#337EC1 #BD33C1 #C17633 #37C133
split-complementary
#337EC1 #C13337 #C1BD33
monochromatic
#193F60 #265E91 #337EC1 #5D9CD4 #8DBAE1

Accessibility & contrast

On white

4.29
#337EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##337EC1#FFFFFF#000000##000000
##337EC11.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F81C4
Deuteranopia (green-blind)
#4B74C0
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #337ec1;
/* rgb */ color: rgb(51, 126, 193);
/* oklch */ color: oklch(57.9% 0.127 248.8);
Tailwind
colors: {
  custom: {
    50: '#7da3d4',
    500: '#337ec1',
    950: '#000000',
  },
}
SCSS
$custom: #337ec1;
$custom-light: #7da3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#337ec1",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 193
  },
  "hsl": {
    "h": 208.31,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.12684,
    "h": 248.8
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#337EC1
secondary
#CBA684
accent
#9046E1
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #337EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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