#337BAC#337BAC

#337BAC is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.0% C 0.104 H 241.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#337BAC
RGBrgb(51, 123, 172)
HSLhsl(204, 54%, 44%)
HSVhsv(204, 70%, 67%)
CMYKcmyk(70.3%, 28.5%, 0%, 32.5%)
CIE-LABlab(49.31, -6.05, -32.56)
CIE-LCHlch(49.31, 33.11, 259.47°)
OKLaboklab(55.99% -0.0491 -0.0919)
OKLCHoklch(55.99% 0.104 241.9)
XYZxyz(15.8917, 17.8465, 41.6289)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BAC #AC6433
analogous
#33ACA0 #337BAC #333EAC
triadic
#337BAC #AC337B #7BAC33
tetradic
#337BAC #A033AC #AC6433 #3EAC33
square
#337BAC #A033AC #AC6433 #3EAC33
split-complementary
#337BAC #AC333E #ACA033
monochromatic
#17374E #25597D #337BAC #519ACB #80B5D9

Accessibility & contrast

On white

4.60
#337BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#337BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337BAC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BAC#FFFFFF#000000##FFFFFF
##337BAC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657CAE
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337bac;
/* rgb */ color: rgb(51, 123, 172);
/* oklch */ color: oklch(56.0% 0.104 241.9);
Tailwind
colors: {
  custom: {
    50: '#79a1c5',
    500: '#337bac',
    950: '#000000',
  },
}
SCSS
$custom: #337bac;
$custom-light: #79a1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#337bac",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 172
  },
  "hsl": {
    "h": 204.298,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.10422,
    "h": 241.9
  },
  "luminance": 0.17848
}

Semantic roles & 50–950 ramp

primary
#337BAC
secondary
#C29678
accent
#864ADE
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #337BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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