#337AC2#337AC2

#337AC2 is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 57.0% C 0.132 H 251.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#337AC2
RGBrgb(51, 122, 194)
HSLhsl(210, 58%, 48%)
HSVhsv(210, 74%, 76%)
CMYKcmyk(73.7%, 37.1%, 0%, 23.9%)
CIE-LABlab(50.12, 2.46, -43.97)
CIE-LCHlch(50.12, 44.04, 273.20°)
OKLaboklab(56.99% -0.0418 -0.1252)
OKLCHoklch(56.99% 0.132 251.5)
XYZxyz(18.0587, 18.5159, 53.6507)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AC2 #C27B33
analogous
#33C1C2 #337AC2 #3433C2
triadic
#337AC2 #C2337A #7AC233
tetradic
#337AC2 #C233C1 #C27B33 #33C234
square
#337AC2 #C233C1 #C27B33 #33C234
split-complementary
#337AC2 #C23433 #C1C233
monochromatic
#1A3D61 #265C92 #337AC2 #5E99D5 #8EB7E1

Accessibility & contrast

On white

4.46
#337AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#337AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AC2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AC2#FFFFFF#000000##000000
##337AC21.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#597EC5
Deuteranopia (green-blind)
#4371C1
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337ac2;
/* rgb */ color: rgb(51, 122, 194);
/* oklch */ color: oklch(57.0% 0.132 251.5);
Tailwind
colors: {
  custom: {
    50: '#7da0d5',
    500: '#337ac2',
    950: '#000000',
  },
}
SCSS
$custom: #337ac2;
$custom-light: #7da0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#337ac2",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 194
  },
  "hsl": {
    "h": 210.21,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56988,
    "c": 0.13201,
    "h": 251.5
  },
  "luminance": 0.18518
}

Semantic roles & 50–950 ramp

primary
#337AC2
secondary
#CCA985
accent
#9446E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #337AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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