#337CCC#337CCC

#337CCC is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.143 H 253.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#337CCC
RGBrgb(51, 124, 204)
HSLhsl(211, 60%, 50%)
HSVhsv(211, 75%, 80%)
CMYKcmyk(75%, 39.2%, 0%, 20%)
CIE-LABlab(51.24, 4.91, -47.90)
CIE-LCHlch(51.24, 48.15, 275.85°)
OKLaboklab(58.04% -0.0411 -0.1367)
OKLCHoklch(58.04% 0.143 253.2)
XYZxyz(19.4679, 19.4765, 59.8484)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337CCC #CC8333
analogous
#33C8CC #337CCC #3733CC
triadic
#337CCC #CC337C #7CCC33
tetradic
#337CCC #CC33C8 #CC8333 #33CC37
square
#337CCC #CC33C8 #CC8333 #33CC37
split-complementary
#337CCC #CC3733 #C8CC33
monochromatic
#1B406A #275E9B #337CCC #649BD8 #95BBE4

Accessibility & contrast

On white

4.29
#337CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#337CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337CCC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337CCC#FFFFFF#000000##000000
##337CCC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #337ccc;
/* rgb */ color: rgb(51, 124, 204);
/* oklch */ color: oklch(58.0% 0.143 253.2);
Tailwind
colors: {
  custom: {
    50: '#7fa1dc',
    500: '#337ccc',
    950: '#000000',
  },
}
SCSS
$custom: #337ccc;
$custom-light: #7fa1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#337ccc",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 211.373,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.58044,
    "c": 0.14275,
    "h": 253.2
  },
  "luminance": 0.19479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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