#337AAC#337AAC

#337AAC is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.8% C 0.105 H 242.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#337AAC
RGBrgb(51, 122, 172)
HSLhsl(205, 54%, 44%)
HSVhsv(205, 70%, 67%)
CMYKcmyk(70.3%, 29.1%, 0%, 32.5%)
CIE-LABlab(49.01, -5.46, -33.03)
CIE-LCHlch(49.01, 33.48, 260.61°)
OKLaboklab(55.75% -0.0481 -0.0933)
OKLCHoklch(55.75% 0.105 242.7)
XYZxyz(15.7683, 17.5997, 41.5878)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AAC #AC6533
analogous
#33ACA1 #337AAC #333EAC
triadic
#337AAC #AC337A #7AAC33
tetradic
#337AAC #A133AC #AC6533 #3EAC33
square
#337AAC #A133AC #AC6533 #3EAC33
split-complementary
#337AAC #AC333E #ACA133
monochromatic
#17374E #25597D #337AAC #5199CB #80B4D9

Accessibility & contrast

On white

4.65
#337AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#337AAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337AAC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AAC#FFFFFF#000000##FFFFFF
##337AAC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637BAE
Deuteranopia (green-blind)
#536FAB
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #337aac;
/* rgb */ color: rgb(51, 122, 172);
/* oklch */ color: oklch(55.8% 0.105 242.7);
Tailwind
colors: {
  custom: {
    50: '#79a0c5',
    500: '#337aac',
    950: '#000000',
  },
}
SCSS
$custom: #337aac;
$custom-light: #79a0c5;
$custom-dark: #000000;
JSON
{
  "hex": "#337aac",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 172
  },
  "hsl": {
    "h": 204.793,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55753,
    "c": 0.10497,
    "h": 242.7
  },
  "luminance": 0.17601
}

Semantic roles & 50–950 ramp

primary
#337AAC
secondary
#C29778
accent
#874ADE
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #337AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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