#337AB6#337AB6

#337AB6 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.3% C 0.117 H 247.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#337AB6
RGBrgb(51, 122, 182)
HSLhsl(207, 56%, 46%)
HSVhsv(207, 72%, 71%)
CMYKcmyk(72%, 33%, 0%, 28.6%)
CIE-LABlab(49.49, -1.89, -38.05)
CIE-LCHlch(49.49, 38.10, 267.15°)
OKLaboklab(56.3% -0.0451 -0.1079)
OKLCHoklch(56.3% 0.117 247.3)
XYZxyz(16.7651, 17.9984, 46.8374)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AB6 #B66F33
analogous
#33B6B0 #337AB6 #3338B6
triadic
#337AB6 #B6337A #7AB633
tetradic
#337AB6 #B033B6 #B66F33 #38B633
square
#337AB6 #B033B6 #B66F33 #38B633
split-complementary
#337AB6 #B63338 #B6B033
monochromatic
#183A56 #265A86 #337AB6 #5698D0 #86B5DD

Accessibility & contrast

On white

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

On black

4.60
#337AB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AB6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AB6#FFFFFF#000000##000000
##337AB61.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB9
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337ab6;
/* rgb */ color: rgb(51, 122, 182);
/* oklch */ color: oklch(56.3% 0.117 247.3);
Tailwind
colors: {
  custom: {
    50: '#7ba0cc',
    500: '#337ab6',
    950: '#000000',
  },
}
SCSS
$custom: #337ab6;
$custom-light: #7ba0cc;
$custom-dark: #000000;
JSON
{
  "hex": "#337ab6",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 182
  },
  "hsl": {
    "h": 207.481,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56297,
    "c": 0.11694,
    "h": 247.3
  },
  "luminance": 0.18
}

Semantic roles & 50–950 ramp

primary
#337AB6
secondary
#C79F7E
accent
#8E48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #337AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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