#337FDC#337FDC

#337FDC is a mid, vivid cyan. Relative luminance 0.210; OKLCH L 59.7% C 0.160 H 255.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#337FDC
RGBrgb(51, 127, 220)
HSLhsl(213, 71%, 53%)
HSVhsv(213, 77%, 86%)
CMYKcmyk(76.8%, 42.3%, 0%, 13.7%)
CIE-LABlab(53.00, 8.96, -54.14)
CIE-LCHlch(53.00, 54.88, 279.40°)
OKLaboklab(59.71% -0.0402 -0.155)
OKLCHoklch(59.71% 0.16 255.5)
XYZxyz(21.8681, 21.0473, 70.6063)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FDC #DC9033
analogous
#33D3DC #337FDC #3B33DC
triadic
#337FDC #DC337F #7FDC33
tetradic
#337FDC #DC33D3 #DC9033 #33DC3B
square
#337FDC #DC33D3 #DC9033 #33DC3B
split-complementary
#337FDC #DC3B33 #D3DC33
monochromatic
#16457F #1F61B3 #337FDC #67A0E5 #9BC1EE

Accessibility & contrast

On white

4.03
#337FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#337FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FDC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FDC#FFFFFF#000000##000000
##337FDC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #337fdc;
/* rgb */ color: rgb(51, 127, 220);
/* oklch */ color: oklch(59.7% 0.160 255.5);
Tailwind
colors: {
  custom: {
    50: '#82a3e7',
    500: '#337fdc',
    950: '#000000',
  },
}
SCSS
$custom: #337fdc;
$custom-light: #82a3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#337fdc",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 213.018,
    "s": 70.711,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.16011,
    "h": 255.5
  },
  "luminance": 0.2105
}

Semantic roles & 50–950 ramp

primary
#337FDC
secondary
#DAB991
accent
#9D3AED
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #337FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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