#337DB2#337DB2

#337DB2 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.8% C 0.110 H 243.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#337DB2
RGBrgb(51, 125, 178)
HSLhsl(205, 55%, 45%)
HSVhsv(205, 71%, 70%)
CMYKcmyk(71.3%, 29.8%, 0%, 30.2%)
CIE-LABlab(50.20, -5.11, -34.64)
CIE-LCHlch(50.20, 35.01, 261.62°)
OKLaboklab(56.79% -0.0492 -0.0979)
OKLCHoklch(56.79% 0.11 243.3)
XYZxyz(16.7317, 18.5835, 44.8160)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DB2 #B26833
analogous
#33B2A7 #337DB2 #333EB2
triadic
#337DB2 #B2337D #7DB233
tetradic
#337DB2 #A733B2 #B26833 #3EB233
square
#337DB2 #A733B2 #B26833 #3EB233
split-complementary
#337DB2 #B2333E #B2A733
monochromatic
#183A53 #255C82 #337DB2 #549BCE #84B7DC

Accessibility & contrast

On white

4.45
#337DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#337DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DB2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DB2#FFFFFF#000000##000000
##337DB21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB4
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337db2;
/* rgb */ color: rgb(51, 125, 178);
/* oklch */ color: oklch(56.8% 0.110 243.3);
Tailwind
colors: {
  custom: {
    50: '#7aa2c9',
    500: '#337db2',
    950: '#000000',
  },
}
SCSS
$custom: #337db2;
$custom-light: #7aa2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#337db2",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 205.039,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.10962,
    "h": 243.3
  },
  "luminance": 0.18585
}

Semantic roles & 50–950 ramp

primary
#337DB2
secondary
#C59A7C
accent
#8849DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #337DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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