#337BB4#337BB4

#337BB4 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.4% C 0.114 H 245.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#337BB4
RGBrgb(51, 123, 180)
HSLhsl(207, 56%, 45%)
HSVhsv(207, 72%, 71%)
CMYKcmyk(71.7%, 31.7%, 0%, 29.4%)
CIE-LABlab(49.69, -3.21, -36.59)
CIE-LCHlch(49.69, 36.73, 264.99°)
OKLaboklab(56.42% -0.0466 -0.1036)
OKLCHoklch(56.42% 0.114 245.8)
XYZxyz(16.6833, 18.1632, 45.7978)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BB4 #B46C33
analogous
#33B4AD #337BB4 #333AB4
triadic
#337BB4 #B4337B #7BB433
tetradic
#337BB4 #AD33B4 #B46C33 #3AB433
square
#337BB4 #AD33B4 #B46C33 #3AB433
split-complementary
#337BB4 #B4333A #B4AD33
monochromatic
#183A55 #255A84 #337BB4 #5599CF #85B6DC

Accessibility & contrast

On white

4.53
#337BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#337BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337BB4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BB4#FFFFFF#000000##000000
##337BB41.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB6
Deuteranopia (green-blind)
#4F71B3
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337bb4;
/* rgb */ color: rgb(51, 123, 180);
/* oklch */ color: oklch(56.4% 0.114 245.8);
Tailwind
colors: {
  custom: {
    50: '#7ba0ca',
    500: '#337bb4',
    950: '#000000',
  },
}
SCSS
$custom: #337bb4;
$custom-light: #7ba0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#337bb4",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 180
  },
  "hsl": {
    "h": 206.512,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.11363,
    "h": 245.8
  },
  "luminance": 0.18165
}

Semantic roles & 50–950 ramp

primary
#337BB4
secondary
#C69D7D
accent
#8B49DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #337BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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