#337AC8#337AC8

#337AC8 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.3% C 0.140 H 253.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#337AC8
RGBrgb(51, 122, 200)
HSLhsl(211, 59%, 49%)
HSVhsv(211, 75%, 78%)
CMYKcmyk(74.5%, 39%, 0%, 21.6%)
CIE-LABlab(50.44, 4.66, -46.89)
CIE-LCHlch(50.44, 47.12, 275.67°)
OKLaboklab(57.35% -0.0403 -0.1338)
OKLCHoklch(57.35% 0.14 253.2)
XYZxyz(18.7462, 18.7909, 57.2714)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AC8 #C88133
analogous
#33C5C8 #337AC8 #3633C8
triadic
#337AC8 #C8337A #7AC833
tetradic
#337AC8 #C833C5 #C88133 #33C836
square
#337AC8 #C833C5 #C88133 #33C836
split-complementary
#337AC8 #C83633 #C5C833
monochromatic
#1A3F66 #275C97 #337AC8 #6199D7 #92B9E3

Accessibility & contrast

On white

4.41
#337AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#337AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AC8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AC8#FFFFFF#000000##000000
##337AC81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CB
Deuteranopia (green-blind)
#3E72C6
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337ac8;
/* rgb */ color: rgb(51, 122, 200);
/* oklch */ color: oklch(57.3% 0.140 253.2);
Tailwind
colors: {
  custom: {
    50: '#7ea0d9',
    500: '#337ac8',
    950: '#000000',
  },
}
SCSS
$custom: #337ac8;
$custom-light: #7ea0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#337ac8",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 211.409,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57349,
    "c": 0.1397,
    "h": 253.2
  },
  "luminance": 0.18793
}

Semantic roles & 50–950 ramp

primary
#337AC8
secondary
#CEAD89
accent
#9845E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #337AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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