#337DB5#337DB5

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

Color values

HEX#337DB5
RGBrgb(51, 125, 181)
HSLhsl(206, 56%, 45%)
HSVhsv(206, 72%, 71%)
CMYKcmyk(71.8%, 30.9%, 0%, 29%)
CIE-LABlab(50.34, -4.04, -36.15)
CIE-LCHlch(50.34, 36.37, 263.63°)
OKLaboklab(56.95% -0.0483 -0.1023)
OKLCHoklch(56.95% 0.113 244.7)
XYZxyz(17.0362, 18.7053, 46.4197)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DB5 #B56B33
analogous
#33B5AC #337DB5 #333CB5
triadic
#337DB5 #B5337D #7DB533
tetradic
#337DB5 #AC33B5 #B56B33 #3CB533
square
#337DB5 #AC33B5 #B56B33 #3CB533
split-complementary
#337DB5 #B5333C #B5AC33
monochromatic
#183B56 #265C85 #337DB5 #569BCF #86B7DD

Accessibility & contrast

On white

4.43
#337DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#337DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DB5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DB5#FFFFFF#000000##000000
##337DB51.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#647FB7
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337db5;
/* rgb */ color: rgb(51, 125, 181);
/* oklch */ color: oklch(56.9% 0.113 244.7);
Tailwind
colors: {
  custom: {
    50: '#7ba2cb',
    500: '#337db5',
    950: '#000000',
  },
}
SCSS
$custom: #337db5;
$custom-light: #7ba2cb;
$custom-dark: #000000;
JSON
{
  "hex": "#337db5",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 181
  },
  "hsl": {
    "h": 205.846,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56948,
    "c": 0.11315,
    "h": 244.7
  },
  "luminance": 0.18707
}

Semantic roles & 50–950 ramp

primary
#337DB5
secondary
#C69D7D
accent
#8948DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #337DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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