#337CAC#337CAC

#337CAC is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.2% C 0.103 H 241.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#337CAC
RGBrgb(51, 124, 172)
HSLhsl(204, 54%, 44%)
HSVhsv(204, 70%, 67%)
CMYKcmyk(70.3%, 27.9%, 0%, 32.5%)
CIE-LABlab(49.61, -6.64, -32.08)
CIE-LCHlch(49.61, 32.76, 258.31°)
OKLaboklab(56.23% -0.0502 -0.0905)
OKLCHoklch(56.23% 0.103 241)
XYZxyz(16.0164, 18.0959, 41.6705)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337CAC #AC6333
analogous
#33AC9F #337CAC #333FAC
triadic
#337CAC #AC337C #7CAC33
tetradic
#337CAC #9F33AC #AC6333 #3FAC33
square
#337CAC #9F33AC #AC6333 #3FAC33
split-complementary
#337CAC #AC333F #AC9F33
monochromatic
#17384E #255A7D #337CAC #519BCB #80B6D9

Accessibility & contrast

On white

4.55
#337CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#337CAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337CAC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337CAC#FFFFFF#000000##000000
##337CAC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAE
Deuteranopia (green-blind)
#5571AB
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337cac;
/* rgb */ color: rgb(51, 124, 172);
/* oklch */ color: oklch(56.2% 0.103 241.0);
Tailwind
colors: {
  custom: {
    50: '#79a1c5',
    500: '#337cac',
    950: '#000000',
  },
}
SCSS
$custom: #337cac;
$custom-light: #79a1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#337cac",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 172
  },
  "hsl": {
    "h": 203.802,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56232,
    "c": 0.10349,
    "h": 241
  },
  "luminance": 0.18098
}

Semantic roles & 50–950 ramp

primary
#337CAC
secondary
#C29678
accent
#854ADE
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #337CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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