#337DB4#337DB4

#337DB4 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.9% C 0.112 H 244.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#337DB4
RGBrgb(51, 125, 180)
HSLhsl(206, 56%, 45%)
HSVhsv(206, 72%, 71%)
CMYKcmyk(71.7%, 30.6%, 0%, 29.4%)
CIE-LABlab(50.29, -4.39, -35.64)
CIE-LCHlch(50.29, 35.91, 262.97°)
OKLaboklab(56.89% -0.0486 -0.1008)
OKLCHoklch(56.89% 0.112 244.3)
XYZxyz(16.9339, 18.6644, 45.8813)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DB4 #B46A33
analogous
#33B4AA #337DB4 #333DB4
triadic
#337DB4 #B4337D #7DB433
tetradic
#337DB4 #AA33B4 #B46A33 #3DB433
square
#337DB4 #AA33B4 #B46A33 #3DB433
split-complementary
#337DB4 #B4333D #B4AA33
monochromatic
#183B55 #255C84 #337DB4 #559BCF #85B7DC

Accessibility & contrast

On white

4.44
#337DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#337DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DB4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DB4#FFFFFF#000000##000000
##337DB41.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB6
Deuteranopia (green-blind)
#5272B3
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337db4;
/* rgb */ color: rgb(51, 125, 180);
/* oklch */ color: oklch(56.9% 0.112 244.3);
Tailwind
colors: {
  custom: {
    50: '#7ba2ca',
    500: '#337db4',
    950: '#000000',
  },
}
SCSS
$custom: #337db4;
$custom-light: #7ba2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#337db4",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 180
  },
  "hsl": {
    "h": 205.581,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.11196,
    "h": 244.3
  },
  "luminance": 0.18666
}

Semantic roles & 50–950 ramp

primary
#337DB4
secondary
#C69C7D
accent
#8949DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #337DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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