#337AB3#337AB3

#337AB3 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.1% C 0.113 H 246.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#337AB3
RGBrgb(51, 122, 179)
HSLhsl(207, 56%, 45%)
HSVhsv(207, 72%, 70%)
CMYKcmyk(71.5%, 31.8%, 0%, 29.8%)
CIE-LABlab(49.34, -2.97, -36.56)
CIE-LCHlch(49.34, 36.68, 265.35°)
OKLaboklab(56.13% -0.0459 -0.1035)
OKLCHoklch(56.13% 0.113 246.1)
XYZxyz(16.4584, 17.8757, 45.2221)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AB3 #B36C33
analogous
#33B3AC #337AB3 #333AB3
triadic
#337AB3 #B3337A #7AB333
tetradic
#337AB3 #AC33B3 #B36C33 #3AB333
square
#337AB3 #AC33B3 #B36C33 #3AB333
split-complementary
#337AB3 #B3333A #B3AC33
monochromatic
#183954 #255A83 #337AB3 #5598CE #84B5DC

Accessibility & contrast

On white

4.59
#337AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#337AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337AB3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AB3#FFFFFF#000000##FFFFFF
##337AB31.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607CB5
Deuteranopia (green-blind)
#4E70B2
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337ab3;
/* rgb */ color: rgb(51, 122, 179);
/* oklch */ color: oklch(56.1% 0.113 246.1);
Tailwind
colors: {
  custom: {
    50: '#7aa0ca',
    500: '#337ab3',
    950: '#000000',
  },
}
SCSS
$custom: #337ab3;
$custom-light: #7aa0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#337ab3",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 179
  },
  "hsl": {
    "h": 206.719,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56131,
    "c": 0.11328,
    "h": 246.1
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#337AB3
secondary
#C69D7C
accent
#8C49DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #337AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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