#337DC5#337DC5

#337DC5 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.9% C 0.133 H 250.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#337DC5
RGBrgb(51, 125, 197)
HSLhsl(210, 59%, 49%)
HSVhsv(210, 74%, 77%)
CMYKcmyk(74.1%, 36.5%, 0%, 22.7%)
CIE-LABlab(51.15, 1.74, -44.05)
CIE-LCHlch(51.15, 44.08, 272.26°)
OKLaboklab(57.85% -0.0438 -0.1254)
OKLCHoklch(57.85% 0.133 250.7)
XYZxyz(18.7731, 19.4001, 55.5677)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DC5 #C57B33
analogous
#33C5C4 #337DC5 #3334C5
triadic
#337DC5 #C5337D #7DC533
tetradic
#337DC5 #C433C5 #C57B33 #34C533
square
#337DC5 #C433C5 #C57B33 #34C533
split-complementary
#337DC5 #C53334 #C5C433
monochromatic
#1A3F64 #265E94 #337DC5 #5F9BD6 #90BAE2

Accessibility & contrast

On white

4.30
#337DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#337DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DC5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DC5#FFFFFF#000000##000000
##337DC51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C8
Deuteranopia (green-blind)
#4674C4
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #337dc5;
/* rgb */ color: rgb(51, 125, 197);
/* oklch */ color: oklch(57.9% 0.133 250.7);
Tailwind
colors: {
  custom: {
    50: '#7ea2d7',
    500: '#337dc5',
    950: '#000000',
  },
}
SCSS
$custom: #337dc5;
$custom-light: #7ea2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#337dc5",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 197
  },
  "hsl": {
    "h": 209.589,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57852,
    "c": 0.13282,
    "h": 250.7
  },
  "luminance": 0.19402
}

Semantic roles & 50–950 ramp

primary
#337DC5
secondary
#CDA987
accent
#9346E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #337DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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