#337AC4#337AC4

#337AC4 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.1% C 0.135 H 252.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#337AC4
RGBrgb(51, 122, 196)
HSLhsl(211, 59%, 48%)
HSVhsv(211, 74%, 77%)
CMYKcmyk(74%, 37.8%, 0%, 23.1%)
CIE-LABlab(50.22, 3.19, -44.95)
CIE-LCHlch(50.22, 45.06, 274.06°)
OKLaboklab(57.11% -0.0413 -0.1281)
OKLCHoklch(57.11% 0.135 252.1)
XYZxyz(18.2849, 18.6063, 54.8416)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AC4 #C47D33
analogous
#33C2C4 #337AC4 #3533C4
triadic
#337AC4 #C4337A #7AC433
tetradic
#337AC4 #C433C2 #C47D33 #33C435
square
#337AC4 #C433C2 #C47D33 #33C435
split-complementary
#337AC4 #C43533 #C2C433
monochromatic
#1A3E63 #265C93 #337AC4 #5F99D5 #8FB8E2

Accessibility & contrast

On white

4.45
#337AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#337AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AC4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AC4#FFFFFF#000000##000000
##337AC41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC7
Deuteranopia (green-blind)
#4271C3
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337ac4;
/* rgb */ color: rgb(51, 122, 196);
/* oklch */ color: oklch(57.1% 0.135 252.1);
Tailwind
colors: {
  custom: {
    50: '#7ea0d6',
    500: '#337ac4',
    950: '#000000',
  },
}
SCSS
$custom: #337ac4;
$custom-light: #7ea0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#337ac4",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 196
  },
  "hsl": {
    "h": 210.621,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57107,
    "c": 0.13456,
    "h": 252.1
  },
  "luminance": 0.18608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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