#337FCC#337FCC

#337FCC is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.7% C 0.140 H 251.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#337FCC
RGBrgb(51, 127, 204)
HSLhsl(210, 60%, 50%)
HSVhsv(210, 75%, 80%)
CMYKcmyk(75%, 37.7%, 0%, 20%)
CIE-LABlab(52.11, 3.08, -46.52)
CIE-LCHlch(52.11, 46.62, 273.79°)
OKLaboklab(58.72% -0.0438 -0.1326)
OKLCHoklch(58.72% 0.14 251.7)
XYZxyz(19.8496, 20.2399, 59.9756)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FCC #CC8033
analogous
#33CCCC #337FCC #3333CC
triadic
#337FCC #CC337F #7FCC33
tetradic
#337FCC #CC33CC #CC8033 #33CC33
square
#337FCC #CC33CC #CC8033 #33CC33
split-complementary
#337FCC #CC3333 #CCCC33
monochromatic
#1B426A #27619B #337FCC #649ED8 #95BCE4

Accessibility & contrast

On white

4.16
#337FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#337FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FCC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FCC#FFFFFF#000000##000000
##337FCC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CF
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #337fcc;
/* rgb */ color: rgb(51, 127, 204);
/* oklch */ color: oklch(58.7% 0.140 251.7);
Tailwind
colors: {
  custom: {
    50: '#7fa3dc',
    500: '#337fcc',
    950: '#000000',
  },
}
SCSS
$custom: #337fcc;
$custom-light: #7fa3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#337fcc",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 210.196,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.58721,
    "c": 0.13966,
    "h": 251.7
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#337FCC
secondary
#D0AE8B
accent
#9445E3
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #337FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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