#337BCC#337BCC

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

Color values

HEX#337BCC
RGBrgb(51, 123, 204)
HSLhsl(212, 60%, 50%)
HSVhsv(212, 75%, 80%)
CMYKcmyk(75%, 39.7%, 0%, 20%)
CIE-LABlab(50.95, 5.52, -48.36)
CIE-LCHlch(50.95, 48.67, 276.51°)
OKLaboklab(57.82% -0.0403 -0.138)
OKLCHoklch(57.82% 0.144 253.7)
XYZxyz(19.3432, 19.2271, 59.8068)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BCC #CC8433
analogous
#33C7CC #337BCC #3833CC
triadic
#337BCC #CC337B #7BCC33
tetradic
#337BCC #CC33C7 #CC8433 #33CC38
square
#337BCC #CC33C7 #CC8433 #33CC38
split-complementary
#337BCC #CC3833 #C7CC33
monochromatic
#1B406A #275D9B #337BCC #649BD8 #95BAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337BCC#FFFFFF#000000##000000
##337BCC1.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)
#5581CF
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #337bcc;
/* rgb */ color: rgb(51, 123, 204);
/* oklch */ color: oklch(57.8% 0.144 253.7);
Tailwind
colors: {
  custom: {
    50: '#7fa0dc',
    500: '#337bcc',
    950: '#000000',
  },
}
SCSS
$custom: #337bcc;
$custom-light: #7fa0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#337bcc",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 211.765,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.1438,
    "h": 253.7
  },
  "luminance": 0.19229
}

Semantic roles & 50–950 ramp

primary
#337BCC
secondary
#D0AF8B
accent
#9945E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #337BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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