#337DCC#337DCC

#337DCC is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.3% C 0.142 H 252.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#337DCC
RGBrgb(51, 125, 204)
HSLhsl(211, 60%, 50%)
HSVhsv(211, 75%, 80%)
CMYKcmyk(75%, 38.7%, 0%, 20%)
CIE-LABlab(51.53, 4.30, -47.44)
CIE-LCHlch(51.53, 47.63, 275.17°)
OKLaboklab(58.27% -0.042 -0.1353)
OKLCHoklch(58.27% 0.142 252.7)
XYZxyz(19.5939, 19.7284, 59.8903)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DCC #CC8233
analogous
#33CACC #337DCC #3533CC
triadic
#337DCC #CC337D #7DCC33
tetradic
#337DCC #CC33CA #CC8233 #33CC35
square
#337DCC #CC33CA #CC8233 #33CC35
split-complementary
#337DCC #CC3533 #CACC33
monochromatic
#1B416A #275F9B #337DCC #649CD8 #95BBE4

Accessibility & contrast

On white

4.25
#337DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#337DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DCC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DCC#FFFFFF#000000##000000
##337DCC1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CF
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #337dcc;
/* rgb */ color: rgb(51, 125, 204);
/* oklch */ color: oklch(58.3% 0.142 252.7);
Tailwind
colors: {
  custom: {
    50: '#7fa2dc',
    500: '#337dcc',
    950: '#000000',
  },
}
SCSS
$custom: #337dcc;
$custom-light: #7fa2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#337dcc",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 210.98,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.58269,
    "c": 0.14171,
    "h": 252.7
  },
  "luminance": 0.19731
}

Semantic roles & 50–950 ramp

primary
#337DCC
secondary
#D0AF8B
accent
#9645E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #337DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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