#337DB8#337DB8

#337DB8 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.1% C 0.117 H 246.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#337DB8
RGBrgb(51, 125, 184)
HSLhsl(207, 57%, 46%)
HSVhsv(207, 72%, 72%)
CMYKcmyk(72.3%, 32.1%, 0%, 27.8%)
CIE-LABlab(50.49, -2.97, -37.64)
CIE-LCHlch(50.49, 37.76, 265.50°)
OKLaboklab(57.11% -0.0474 -0.1067)
OKLCHoklch(57.11% 0.117 246)
XYZxyz(17.3473, 18.8298, 48.0584)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DB8 #B86E33
analogous
#33B8B0 #337DB8 #333AB8
triadic
#337DB8 #B8337D #7DB833
tetradic
#337DB8 #B033B8 #B86E33 #3AB833
square
#337DB8 #B033B8 #B86E33 #3AB833
split-complementary
#337DB8 #B8333A #B8B033
monochromatic
#183C58 #265C88 #337DB8 #589BD1 #88B8DE

Accessibility & contrast

On white

4.41
#337DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#337DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DB8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DB8#FFFFFF#000000##000000
##337DB81.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBB
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337db8;
/* rgb */ color: rgb(51, 125, 184);
/* oklch */ color: oklch(57.1% 0.117 246.0);
Tailwind
colors: {
  custom: {
    50: '#7ba2cd',
    500: '#337db8',
    950: '#000000',
  },
}
SCSS
$custom: #337db8;
$custom-light: #7ba2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#337db8",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 184
  },
  "hsl": {
    "h": 206.617,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57112,
    "c": 0.11673,
    "h": 246
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

primary
#337DB8
secondary
#C89F7F
accent
#8B48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #337DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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