#337BC7#337BC7

#337BC7 is a mid, vivid cyan. Relative luminance 0.190; OKLCH L 57.5% C 0.137 H 252.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#337BC7
RGBrgb(51, 123, 199)
HSLhsl(211, 59%, 49%)
HSVhsv(211, 74%, 78%)
CMYKcmyk(74.4%, 38.2%, 0%, 22%)
CIE-LABlab(50.68, 3.68, -45.94)
CIE-LCHlch(50.68, 46.09, 274.58°)
OKLaboklab(57.52% -0.0414 -0.131)
OKLCHoklch(57.52% 0.137 252.4)
XYZxyz(18.7531, 18.9911, 56.6991)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BC7 #C77F33
analogous
#33C5C7 #337BC7 #3533C7
triadic
#337BC7 #C7337B #7BC733
tetradic
#337BC7 #C733C5 #C77F33 #33C735
square
#337BC7 #C733C5 #C77F33 #33C735
split-complementary
#337BC7 #C73533 #C5C733
monochromatic
#1A3F66 #275D96 #337BC7 #619AD6 #91B9E3

Accessibility & contrast

On white

4.38
#337BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#337BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337BC7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BC7#FFFFFF#000000##000000
##337BC71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880CA
Deuteranopia (green-blind)
#4172C5
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #337bc7;
/* rgb */ color: rgb(51, 123, 199);
/* oklch */ color: oklch(57.5% 0.137 252.4);
Tailwind
colors: {
  custom: {
    50: '#7ea0d8',
    500: '#337bc7',
    950: '#000000',
  },
}
SCSS
$custom: #337bc7;
$custom-light: #7ea0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#337bc7",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 210.811,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57515,
    "c": 0.13737,
    "h": 252.4
  },
  "luminance": 0.18993
}

Semantic roles & 50–950 ramp

primary
#337BC7
secondary
#CEAC88
accent
#9645E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #337BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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