#337AB5#337AB5

#337AB5 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.2% C 0.116 H 246.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#337AB5
RGBrgb(51, 122, 181)
HSLhsl(207, 56%, 45%)
HSVhsv(207, 72%, 71%)
CMYKcmyk(71.8%, 32.6%, 0%, 29%)
CIE-LABlab(49.44, -2.25, -37.56)
CIE-LCHlch(49.44, 37.62, 266.57°)
OKLaboklab(56.24% -0.0453 -0.1065)
OKLCHoklch(56.24% 0.116 246.9)
XYZxyz(16.6621, 17.9572, 46.2951)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AB5 #B56E33
analogous
#33B5AF #337AB5 #3339B5
triadic
#337AB5 #B5337A #7AB533
tetradic
#337AB5 #AF33B5 #B56E33 #39B533
square
#337AB5 #AF33B5 #B56E33 #39B533
split-complementary
#337AB5 #B53339 #B5AF33
monochromatic
#183A56 #265A85 #337AB5 #5698CF #86B5DD

Accessibility & contrast

On white

4.57
#337AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#337AB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AB5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AB5#FFFFFF#000000##000000
##337AB51.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB8
Deuteranopia (green-blind)
#4D70B4
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337ab5;
/* rgb */ color: rgb(51, 122, 181);
/* oklch */ color: oklch(56.2% 0.116 246.9);
Tailwind
colors: {
  custom: {
    50: '#7ba0cb',
    500: '#337ab5',
    950: '#000000',
  },
}
SCSS
$custom: #337ab5;
$custom-light: #7ba0cb;
$custom-dark: #000000;
JSON
{
  "hex": "#337ab5",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 181
  },
  "hsl": {
    "h": 207.231,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56241,
    "c": 0.11572,
    "h": 246.9
  },
  "luminance": 0.17959
}

Semantic roles & 50–950 ramp

primary
#337AB5
secondary
#C69F7D
accent
#8D48DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #337AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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