#337AB1#337AB1

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

Color values

HEX#337AB1
RGBrgb(51, 122, 177)
HSLhsl(206, 55%, 45%)
HSVhsv(206, 71%, 69%)
CMYKcmyk(71.2%, 31.1%, 0%, 30.6%)
CIE-LABlab(49.25, -3.69, -35.55)
CIE-LCHlch(49.25, 35.74, 264.08°)
OKLaboklab(56.02% -0.0466 -0.1006)
OKLCHoklch(56.02% 0.111 245.2)
XYZxyz(16.2576, 17.7954, 44.1645)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AB1 #B16A33
analogous
#33B1A9 #337AB1 #333BB1
triadic
#337AB1 #B1337A #7AB133
tetradic
#337AB1 #A933B1 #B16A33 #3BB133
square
#337AB1 #A933B1 #B16A33 #3BB133
split-complementary
#337AB1 #B1333B #B1A933
monochromatic
#183952 #255981 #337AB1 #5498CE #83B5DB

Accessibility & contrast

On white

4.61
#337AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#337AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337AB1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AB1#FFFFFF#000000##FFFFFF
##337AB11.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617CB3
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337ab1;
/* rgb */ color: rgb(51, 122, 177);
/* oklch */ color: oklch(56.0% 0.111 245.2);
Tailwind
colors: {
  custom: {
    50: '#7aa0c8',
    500: '#337ab1',
    950: '#000000',
  },
}
SCSS
$custom: #337ab1;
$custom-light: #7aa0c8;
$custom-dark: #000000;
JSON
{
  "hex": "#337ab1",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 177
  },
  "hsl": {
    "h": 206.19,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56021,
    "c": 0.11087,
    "h": 245.2
  },
  "luminance": 0.17797
}

Semantic roles & 50–950 ramp

primary
#337AB1
secondary
#C59B7B
accent
#8A49DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #337AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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