#337CC7#337CC7

#337CC7 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.7% C 0.136 H 251.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#337CC7
RGBrgb(51, 124, 199)
HSLhsl(210, 59%, 49%)
HSVhsv(210, 74%, 78%)
CMYKcmyk(74.4%, 37.7%, 0%, 22%)
CIE-LABlab(50.97, 3.07, -45.48)
CIE-LCHlch(50.97, 45.59, 273.87°)
OKLaboklab(57.74% -0.0424 -0.1296)
OKLCHoklch(57.74% 0.136 251.9)
XYZxyz(18.8778, 19.2405, 56.7406)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337CC7 #C77E33
analogous
#33C6C7 #337CC7 #3433C7
triadic
#337CC7 #C7337C #7CC733
tetradic
#337CC7 #C733C6 #C77E33 #33C734
square
#337CC7 #C733C6 #C77E33 #33C734
split-complementary
#337CC7 #C73433 #C6C733
monochromatic
#1A3F66 #275E96 #337CC7 #619BD6 #91BAE3

Accessibility & contrast

On white

4.33
#337CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#337CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337CC7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337CC7#FFFFFF#000000##000000
##337CC71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CA
Deuteranopia (green-blind)
#4373C6
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #337cc7;
/* rgb */ color: rgb(51, 124, 199);
/* oklch */ color: oklch(57.7% 0.136 251.9);
Tailwind
colors: {
  custom: {
    50: '#7ea1d8',
    500: '#337cc7',
    950: '#000000',
  },
}
SCSS
$custom: #337cc7;
$custom-light: #7ea1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#337cc7",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 199
  },
  "hsl": {
    "h": 210.405,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.13635,
    "h": 251.9
  },
  "luminance": 0.19243
}

Semantic roles & 50–950 ramp

primary
#337CC7
secondary
#CEAB88
accent
#9545E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #337CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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