#337AC6#337AC6

#337AC6 is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.2% C 0.137 H 252.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#337AC6
RGBrgb(51, 122, 198)
HSLhsl(211, 59%, 49%)
HSVhsv(211, 74%, 78%)
CMYKcmyk(74.2%, 38.4%, 0%, 22.4%)
CIE-LABlab(50.33, 3.93, -45.92)
CIE-LCHlch(50.33, 46.09, 274.89°)
OKLaboklab(57.23% -0.0408 -0.1309)
OKLCHoklch(57.23% 0.137 252.7)
XYZxyz(18.5140, 18.6980, 56.0485)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AC6 #C67F33
analogous
#33C4C6 #337AC6 #3533C6
triadic
#337AC6 #C6337A #7AC633
tetradic
#337AC6 #C633C4 #C67F33 #33C635
square
#337AC6 #C633C4 #C67F33 #33C635
split-complementary
#337AC6 #C63533 #C4C633
monochromatic
#1A3E65 #265C95 #337AC6 #6099D6 #91B8E3

Accessibility & contrast

On white

4.43
#337AC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#337AC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AC6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AC6#FFFFFF#000000##000000
##337AC61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC9
Deuteranopia (green-blind)
#4072C4
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337ac6;
/* rgb */ color: rgb(51, 122, 198);
/* oklch */ color: oklch(57.2% 0.137 252.7);
Tailwind
colors: {
  custom: {
    50: '#7ea0d8',
    500: '#337ac6',
    950: '#000000',
  },
}
SCSS
$custom: #337ac6;
$custom-light: #7ea0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#337ac6",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 198
  },
  "hsl": {
    "h": 211.02,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57227,
    "c": 0.13712,
    "h": 252.7
  },
  "luminance": 0.187
}

Semantic roles & 50–950 ramp

primary
#337AC6
secondary
#CDAC87
accent
#9746E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #337AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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