#337CB5#337CB5

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

Color values

HEX#337CB5
RGBrgb(51, 124, 181)
HSLhsl(206, 56%, 45%)
HSVhsv(206, 72%, 71%)
CMYKcmyk(71.8%, 31.5%, 0%, 29%)
CIE-LABlab(50.04, -3.45, -36.62)
CIE-LCHlch(50.04, 36.78, 264.62°)
OKLaboklab(56.71% -0.0473 -0.1037)
OKLCHoklch(56.71% 0.114 245.5)
XYZxyz(16.9102, 18.4534, 46.3778)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337CB5 #B56C33
analogous
#33B5AD #337CB5 #333BB5
triadic
#337CB5 #B5337C #7CB533
tetradic
#337CB5 #AD33B5 #B56C33 #3BB533
square
#337CB5 #AD33B5 #B56C33 #3BB533
split-complementary
#337CB5 #B5333B #B5AD33
monochromatic
#183B56 #265B85 #337CB5 #569ACF #86B7DD

Accessibility & contrast

On white

4.48
#337CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#337CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337CB5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337CB5#FFFFFF#000000##000000
##337CB51.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#627EB7
Deuteranopia (green-blind)
#5072B4
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337cb5;
/* rgb */ color: rgb(51, 124, 181);
/* oklch */ color: oklch(56.7% 0.114 245.5);
Tailwind
colors: {
  custom: {
    50: '#7ba1cb',
    500: '#337cb5',
    950: '#000000',
  },
}
SCSS
$custom: #337cb5;
$custom-light: #7ba1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#337cb5",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 181
  },
  "hsl": {
    "h": 206.308,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.11398,
    "h": 245.5
  },
  "luminance": 0.18455
}

Semantic roles & 50–950 ramp

primary
#337CB5
secondary
#C69D7D
accent
#8B48DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #337CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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