#337AC1#337AC1

#337AC1 is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 56.9% C 0.131 H 251.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#337AC1
RGBrgb(51, 122, 193)
HSLhsl(210, 58%, 48%)
HSVhsv(210, 74%, 76%)
CMYKcmyk(73.6%, 36.8%, 0%, 24.3%)
CIE-LABlab(50.06, 2.10, -43.49)
CIE-LCHlch(50.06, 43.54, 272.76°)
OKLaboklab(56.93% -0.042 -0.1238)
OKLCHoklch(56.93% 0.131 251.2)
XYZxyz(17.9468, 18.4711, 53.0612)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AC1 #C17A33
analogous
#33C1C1 #337AC1 #3333C1
triadic
#337AC1 #C1337A #7AC133
tetradic
#337AC1 #C133C1 #C17A33 #33C133
square
#337AC1 #C133C1 #C17A33 #33C133
split-complementary
#337AC1 #C13333 #C1C133
monochromatic
#193D60 #265B91 #337AC1 #5D99D4 #8DB7E1

Accessibility & contrast

On white

4.47
#337AC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#337AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AC1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AC1#FFFFFF#000000##000000
##337AC11.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#597EC4
Deuteranopia (green-blind)
#4471C0
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337ac1;
/* rgb */ color: rgb(51, 122, 193);
/* oklch */ color: oklch(56.9% 0.131 251.2);
Tailwind
colors: {
  custom: {
    50: '#7da0d4',
    500: '#337ac1',
    950: '#000000',
  },
}
SCSS
$custom: #337ac1;
$custom-light: #7da0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#337ac1",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 193
  },
  "hsl": {
    "h": 210,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56929,
    "c": 0.13073,
    "h": 251.2
  },
  "luminance": 0.18473
}

Semantic roles & 50–950 ramp

primary
#337AC1
secondary
#CBA884
accent
#9446E1
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #337AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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