#337DC7#337DC7

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

Color values

HEX#337DC7
RGBrgb(51, 125, 199)
HSLhsl(210, 59%, 49%)
HSVhsv(210, 74%, 78%)
CMYKcmyk(74.4%, 37.2%, 0%, 22%)
CIE-LABlab(51.26, 2.47, -45.02)
CIE-LCHlch(51.26, 45.09, 273.14°)
OKLaboklab(57.97% -0.0433 -0.1282)
OKLCHoklch(57.97% 0.135 251.4)
XYZxyz(19.0038, 19.4924, 56.7826)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DC7 #C77D33
analogous
#33C7C7 #337DC7 #3333C7
triadic
#337DC7 #C7337D #7DC733
tetradic
#337DC7 #C733C7 #C77D33 #33C733
square
#337DC7 #C733C7 #C77D33 #33C733
split-complementary
#337DC7 #C73333 #C7C733
monochromatic
#1A4066 #275E96 #337DC7 #619CD6 #91BAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337DC7#FFFFFF#000000##000000
##337DC71.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)
#5B82CA
Deuteranopia (green-blind)
#4474C6
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #337dc7;
/* rgb */ color: rgb(51, 125, 199);
/* oklch */ color: oklch(58.0% 0.135 251.4);
Tailwind
colors: {
  custom: {
    50: '#7ea2d8',
    500: '#337dc7',
    950: '#000000',
  },
}
SCSS
$custom: #337dc7;
$custom-light: #7ea2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#337dc7",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 210,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57969,
    "c": 0.13534,
    "h": 251.4
  },
  "luminance": 0.19495
}

Semantic roles & 50–950 ramp

primary
#337DC7
secondary
#CEAB88
accent
#9445E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #337DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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