#337AC5#337AC5

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

Color values

HEX#337AC5
RGBrgb(51, 122, 197)
HSLhsl(211, 59%, 49%)
HSVhsv(211, 74%, 77%)
CMYKcmyk(74.1%, 38.1%, 0%, 22.7%)
CIE-LABlab(50.28, 3.56, -45.44)
CIE-LCHlch(50.28, 45.58, 274.48°)
OKLaboklab(57.17% -0.041 -0.1295)
OKLCHoklch(57.17% 0.136 252.4)
XYZxyz(18.3991, 18.6520, 55.4430)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AC5 #C57E33
analogous
#33C3C5 #337AC5 #3533C5
triadic
#337AC5 #C5337A #7AC533
tetradic
#337AC5 #C533C3 #C57E33 #33C535
square
#337AC5 #C533C3 #C57E33 #33C535
split-complementary
#337AC5 #C53533 #C3C533
monochromatic
#1A3E64 #265C94 #337AC5 #5F99D6 #90B8E2

Accessibility & contrast

On white

4.44
#337AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#337AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AC5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AC5#FFFFFF#000000##000000
##337AC51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337ac5;
/* rgb */ color: rgb(51, 122, 197);
/* oklch */ color: oklch(57.2% 0.136 252.4);
Tailwind
colors: {
  custom: {
    50: '#7ea0d7',
    500: '#337ac5',
    950: '#000000',
  },
}
SCSS
$custom: #337ac5;
$custom-light: #7ea0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#337ac5",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 197
  },
  "hsl": {
    "h": 210.822,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.13584,
    "h": 252.4
  },
  "luminance": 0.18654
}

Semantic roles & 50–950 ramp

primary
#337AC5
secondary
#CDAB87
accent
#9646E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #337AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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