#337BB5#337BB5

#337BB5 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.5% C 0.115 H 246.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#337BB5
RGBrgb(51, 123, 181)
HSLhsl(207, 56%, 45%)
HSVhsv(207, 72%, 71%)
CMYKcmyk(71.8%, 32%, 0%, 29%)
CIE-LABlab(49.74, -2.85, -37.09)
CIE-LCHlch(49.74, 37.20, 265.60°)
OKLaboklab(56.48% -0.0463 -0.1051)
OKLCHoklch(56.48% 0.115 246.2)
XYZxyz(16.7855, 18.2041, 46.3362)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BB5 #B56D33
analogous
#33B5AE #337BB5 #333AB5
triadic
#337BB5 #B5337B #7BB533
tetradic
#337BB5 #AE33B5 #B56D33 #3AB533
square
#337BB5 #AE33B5 #B56D33 #3AB533
split-complementary
#337BB5 #B5333A #B5AE33
monochromatic
#183A56 #265B85 #337BB5 #5699CF #86B6DD

Accessibility & contrast

On white

4.52
#337BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#337BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337BB5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BB5#FFFFFF#000000##000000
##337BB51.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB8
Deuteranopia (green-blind)
#4F71B4
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337bb5;
/* rgb */ color: rgb(51, 123, 181);
/* oklch */ color: oklch(56.5% 0.115 246.2);
Tailwind
colors: {
  custom: {
    50: '#7ba0cb',
    500: '#337bb5',
    950: '#000000',
  },
}
SCSS
$custom: #337bb5;
$custom-light: #7ba0cb;
$custom-dark: #000000;
JSON
{
  "hex": "#337bb5",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 181
  },
  "hsl": {
    "h": 206.769,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.11484,
    "h": 246.2
  },
  "luminance": 0.18206
}

Semantic roles & 50–950 ramp

primary
#337BB5
secondary
#C69E7D
accent
#8C48DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #337BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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