#337EC5#337EC5

#337EC5 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.1% C 0.132 H 250.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#337EC5
RGBrgb(51, 126, 197)
HSLhsl(209, 59%, 49%)
HSVhsv(209, 74%, 77%)
CMYKcmyk(74.1%, 36%, 0%, 22.7%)
CIE-LABlab(51.44, 1.13, -43.58)
CIE-LCHlch(51.44, 43.60, 271.49°)
OKLaboklab(58.08% -0.0447 -0.124)
OKLCHoklch(58.08% 0.132 250.2)
XYZxyz(18.9003, 19.6546, 55.6101)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EC5 #C57A33
analogous
#33C5C3 #337EC5 #3335C5
triadic
#337EC5 #C5337E #7EC533
tetradic
#337EC5 #C333C5 #C57A33 #35C533
square
#337EC5 #C333C5 #C57A33 #35C533
split-complementary
#337EC5 #C53335 #C5C333
monochromatic
#1A4064 #265F94 #337EC5 #5F9CD6 #90BAE2

Accessibility & contrast

On white

4.26
#337EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#337EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EC5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EC5#FFFFFF#000000##000000
##337EC51.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C8
Deuteranopia (green-blind)
#4874C4
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #337ec5;
/* rgb */ color: rgb(51, 126, 197);
/* oklch */ color: oklch(58.1% 0.132 250.2);
Tailwind
colors: {
  custom: {
    50: '#7ea3d7',
    500: '#337ec5',
    950: '#000000',
  },
}
SCSS
$custom: #337ec5;
$custom-light: #7ea3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#337ec5",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 209.178,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58081,
    "c": 0.13182,
    "h": 250.2
  },
  "luminance": 0.19657
}

Semantic roles & 50–950 ramp

primary
#337EC5
secondary
#CDA987
accent
#9246E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #337EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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