#337AB4#337AB4

#337AB4 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.114 H 246.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#337AB4
RGBrgb(51, 122, 180)
HSLhsl(207, 56%, 45%)
HSVhsv(207, 72%, 71%)
CMYKcmyk(71.7%, 32.2%, 0%, 29.4%)
CIE-LABlab(49.39, -2.61, -37.06)
CIE-LCHlch(49.39, 37.15, 265.97°)
OKLaboklab(56.19% -0.0457 -0.105)
OKLCHoklch(56.19% 0.114 246.5)
XYZxyz(16.5599, 17.9163, 45.7566)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AB4 #B46D33
analogous
#33B4AD #337AB4 #3339B4
triadic
#337AB4 #B4337A #7AB433
tetradic
#337AB4 #AD33B4 #B46D33 #39B433
square
#337AB4 #AD33B4 #B46D33 #39B433
split-complementary
#337AB4 #B43339 #B4AD33
monochromatic
#183955 #255A84 #337AB4 #5598CF #85B5DC

Accessibility & contrast

On white

4.58
#337AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #337AB4
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AB4#FFFFFF#000000##000000
##337AB41.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB6
Deuteranopia (green-blind)
#4E70B3
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337ab4;
/* rgb */ color: rgb(51, 122, 180);
/* oklch */ color: oklch(56.2% 0.114 246.5);
Tailwind
colors: {
  custom: {
    50: '#7ba0ca',
    500: '#337ab4',
    950: '#000000',
  },
}
SCSS
$custom: #337ab4;
$custom-light: #7ba0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#337ab4",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 180
  },
  "hsl": {
    "h": 206.977,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56186,
    "c": 0.11449,
    "h": 246.5
  },
  "luminance": 0.17918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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