#337DC6#337DC6

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

Color values

HEX#337DC6
RGBrgb(51, 125, 198)
HSLhsl(210, 59%, 49%)
HSVhsv(210, 74%, 78%)
CMYKcmyk(74.2%, 36.9%, 0%, 22.4%)
CIE-LABlab(51.21, 2.10, -44.53)
CIE-LCHlch(51.21, 44.58, 272.70°)
OKLaboklab(57.91% -0.0435 -0.1268)
OKLCHoklch(57.91% 0.134 251.1)
XYZxyz(18.8881, 19.4461, 56.1731)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DC6 #C67C33
analogous
#33C6C6 #337DC6 #3334C6
triadic
#337DC6 #C6337D #7DC633
tetradic
#337DC6 #C633C6 #C67C33 #34C633
square
#337DC6 #C633C6 #C67C33 #34C633
split-complementary
#337DC6 #C63334 #C6C633
monochromatic
#1A4065 #265E95 #337DC6 #609CD6 #91BAE3

Accessibility & contrast

On white

4.29
#337DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#337DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DC6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DC6#FFFFFF#000000##000000
##337DC61.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B81C9
Deuteranopia (green-blind)
#4574C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #337dc6;
/* rgb */ color: rgb(51, 125, 198);
/* oklch */ color: oklch(57.9% 0.134 251.1);
Tailwind
colors: {
  custom: {
    50: '#7ea2d7',
    500: '#337dc6',
    950: '#000000',
  },
}
SCSS
$custom: #337dc6;
$custom-light: #7ea2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#337dc6",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 209.796,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5791,
    "c": 0.13407,
    "h": 251.1
  },
  "luminance": 0.19448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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