#337DC4#337DC4

#337DC4 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.8% C 0.132 H 250.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#337DC4
RGBrgb(51, 125, 196)
HSLhsl(209, 59%, 48%)
HSVhsv(209, 74%, 77%)
CMYKcmyk(74%, 36.2%, 0%, 23.1%)
CIE-LABlab(51.10, 1.37, -43.56)
CIE-LCHlch(51.10, 43.58, 271.80°)
OKLaboklab(57.79% -0.044 -0.124)
OKLCHoklch(57.79% 0.132 250.4)
XYZxyz(18.6589, 19.3544, 54.9662)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DC4 #C47A33
analogous
#33C4C2 #337DC4 #3335C4
triadic
#337DC4 #C4337D #7DC433
tetradic
#337DC4 #C233C4 #C47A33 #35C433
square
#337DC4 #C233C4 #C47A33 #35C433
split-complementary
#337DC4 #C43335 #C4C233
monochromatic
#1A3F63 #265E93 #337DC4 #5F9BD5 #8FBAE2

Accessibility & contrast

On white

4.31
#337DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#337DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DC4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DC4#FFFFFF#000000##000000
##337DC41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C7
Deuteranopia (green-blind)
#4774C3
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #337dc4;
/* rgb */ color: rgb(51, 125, 196);
/* oklch */ color: oklch(57.8% 0.132 250.4);
Tailwind
colors: {
  custom: {
    50: '#7ea2d6',
    500: '#337dc4',
    950: '#000000',
  },
}
SCSS
$custom: #337dc4;
$custom-light: #7ea2d6;
$custom-dark: #000000;
JSON
{
  "hex": "#337dc4",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 209.379,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57793,
    "c": 0.13155,
    "h": 250.4
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#337DC4
secondary
#CDA986
accent
#9246E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #337DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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