#337DB1#337DB1

#337DB1 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.7% C 0.108 H 242.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#337DB1
RGBrgb(51, 125, 177)
HSLhsl(205, 55%, 45%)
HSVhsv(205, 71%, 69%)
CMYKcmyk(71.2%, 29.4%, 0%, 30.6%)
CIE-LABlab(50.15, -5.46, -34.14)
CIE-LCHlch(50.15, 34.57, 260.91°)
OKLaboklab(56.73% -0.0496 -0.0965)
OKLCHoklch(56.73% 0.108 242.8)
XYZxyz(16.6316, 18.5435, 44.2892)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DB1 #B16733
analogous
#33B1A6 #337DB1 #333EB1
triadic
#337DB1 #B1337D #7DB133
tetradic
#337DB1 #A633B1 #B16733 #3EB133
square
#337DB1 #A633B1 #B16733 #3EB133
split-complementary
#337DB1 #B1333E #B1A633
monochromatic
#183A52 #255B81 #337DB1 #549BCE #83B7DB

Accessibility & contrast

On white

4.46
#337DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#337DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DB1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DB1#FFFFFF#000000##000000
##337DB11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB3
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#008A8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337db1;
/* rgb */ color: rgb(51, 125, 177);
/* oklch */ color: oklch(56.7% 0.108 242.8);
Tailwind
colors: {
  custom: {
    50: '#7aa2c8',
    500: '#337db1',
    950: '#000000',
  },
}
SCSS
$custom: #337db1;
$custom-light: #7aa2c8;
$custom-dark: #000000;
JSON
{
  "hex": "#337db1",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 177
  },
  "hsl": {
    "h": 204.762,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56733,
    "c": 0.10846,
    "h": 242.8
  },
  "luminance": 0.18545
}

Semantic roles & 50–950 ramp

primary
#337DB1
secondary
#C5997B
accent
#8749DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #337DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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