#337AB8#337AB8

#337AB8 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.4% C 0.119 H 248.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#337AB8
RGBrgb(51, 122, 184)
HSLhsl(208, 57%, 46%)
HSVhsv(208, 72%, 72%)
CMYKcmyk(72.3%, 33.7%, 0%, 27.8%)
CIE-LABlab(49.60, -1.17, -39.05)
CIE-LCHlch(49.60, 39.07, 268.28°)
OKLaboklab(56.41% -0.0445 -0.1108)
OKLCHoklch(56.41% 0.119 248.1)
XYZxyz(16.9732, 18.0817, 47.9337)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AB8 #B87133
analogous
#33B8B3 #337AB8 #3337B8
triadic
#337AB8 #B8337A #7AB833
tetradic
#337AB8 #B333B8 #B87133 #37B833
square
#337AB8 #B333B8 #B87133 #37B833
split-complementary
#337AB8 #B83337 #B8B333
monochromatic
#183A58 #265A88 #337AB8 #5898D1 #88B6DE

Accessibility & contrast

On white

4.55
#337AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#337AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AB8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AB8#FFFFFF#000000##000000
##337AB81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7DBB
Deuteranopia (green-blind)
#4B70B7
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337ab8;
/* rgb */ color: rgb(51, 122, 184);
/* oklch */ color: oklch(56.4% 0.119 248.1);
Tailwind
colors: {
  custom: {
    50: '#7ba0cd',
    500: '#337ab8',
    950: '#000000',
  },
}
SCSS
$custom: #337ab8;
$custom-light: #7ba0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#337ab8",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 184
  },
  "hsl": {
    "h": 207.97,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56409,
    "c": 0.1194,
    "h": 248.1
  },
  "luminance": 0.18084
}

Semantic roles & 50–950 ramp

primary
#337AB8
secondary
#C8A17F
accent
#8F48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #337AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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