#337CC8#337CC8

#337CC8 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.8% C 0.138 H 252.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#337CC8
RGBrgb(51, 124, 200)
HSLhsl(211, 59%, 49%)
HSVhsv(211, 75%, 78%)
CMYKcmyk(74.5%, 38%, 0%, 21.6%)
CIE-LABlab(51.02, 3.44, -45.97)
CIE-LCHlch(51.02, 46.10, 274.28°)
OKLaboklab(57.8% -0.0421 -0.131)
OKLCHoklch(57.8% 0.138 252.2)
XYZxyz(18.9943, 19.2871, 57.3541)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337CC8 #C87F33
analogous
#33C7C8 #337CC8 #3433C8
triadic
#337CC8 #C8337C #7CC833
tetradic
#337CC8 #C833C7 #C87F33 #33C834
square
#337CC8 #C833C7 #C87F33 #33C834
split-complementary
#337CC8 #C83433 #C7C833
monochromatic
#1A4066 #275E97 #337CC8 #619BD7 #92BAE3

Accessibility & contrast

On white

4.32
#337CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#337CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337CC8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337CC8#FFFFFF#000000##000000
##337CC81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337cc8;
/* rgb */ color: rgb(51, 124, 200);
/* oklch */ color: oklch(57.8% 0.138 252.2);
Tailwind
colors: {
  custom: {
    50: '#7ea1d9',
    500: '#337cc8',
    950: '#000000',
  },
}
SCSS
$custom: #337cc8;
$custom-light: #7ea1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#337cc8",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 200
  },
  "hsl": {
    "h": 210.604,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.13763,
    "h": 252.2
  },
  "luminance": 0.19289
}

Semantic roles & 50–950 ramp

primary
#337CC8
secondary
#CEAC89
accent
#9545E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #337CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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