#337DC8#337DC8

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

Color values

HEX#337DC8
RGBrgb(51, 125, 200)
HSLhsl(210, 59%, 49%)
HSVhsv(210, 75%, 78%)
CMYKcmyk(74.5%, 37.5%, 0%, 21.6%)
CIE-LABlab(51.31, 2.83, -45.51)
CIE-LCHlch(51.31, 45.59, 273.56°)
OKLaboklab(58.03% -0.043 -0.1297)
OKLCHoklch(58.03% 0.137 251.6)
XYZxyz(19.1203, 19.5390, 57.3961)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DC8 #C87E33
analogous
#33C8C8 #337DC8 #3333C8
triadic
#337DC8 #C8337D #7DC833
tetradic
#337DC8 #C833C8 #C87E33 #33C833
square
#337DC8 #C833C8 #C87E33 #33C833
split-complementary
#337DC8 #C83333 #C8C833
monochromatic
#1A4066 #275F97 #337DC8 #619CD7 #92BAE3

Accessibility & contrast

On white

4.28
#337DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#337DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DC8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DC8#FFFFFF#000000##000000
##337DC81.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CB
Deuteranopia (green-blind)
#4474C7
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #337dc8;
/* rgb */ color: rgb(51, 125, 200);
/* oklch */ color: oklch(58.0% 0.137 251.6);
Tailwind
colors: {
  custom: {
    50: '#7ea2d9',
    500: '#337dc8',
    950: '#000000',
  },
}
SCSS
$custom: #337dc8;
$custom-light: #7ea2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#337dc8",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 200
  },
  "hsl": {
    "h": 210.201,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.13661,
    "h": 251.6
  },
  "luminance": 0.19541
}

Semantic roles & 50–950 ramp

primary
#337DC8
secondary
#CEAC89
accent
#9445E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #337DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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