#337BB2#337BB2

#337BB2 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.3% C 0.111 H 244.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#337BB2
RGBrgb(51, 123, 178)
HSLhsl(206, 55%, 45%)
HSVhsv(206, 71%, 70%)
CMYKcmyk(71.3%, 30.9%, 0%, 30.2%)
CIE-LABlab(49.60, -3.92, -35.58)
CIE-LCHlch(49.60, 35.80, 263.71°)
OKLaboklab(56.31% -0.0472 -0.1007)
OKLCHoklch(56.31% 0.111 244.9)
XYZxyz(16.4810, 18.0823, 44.7325)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BB2 #B26A33
analogous
#33B2AA #337BB2 #333CB2
triadic
#337BB2 #B2337B #7BB233
tetradic
#337BB2 #AA33B2 #B26A33 #3CB233
square
#337BB2 #AA33B2 #B26A33 #3CB233
split-complementary
#337BB2 #B2333C #B2AA33
monochromatic
#183953 #255A82 #337BB2 #5499CE #84B6DC

Accessibility & contrast

On white

4.55
#337BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#337BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337BB2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BB2#FFFFFF#000000##000000
##337BB21.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#627DB4
Deuteranopia (green-blind)
#5071B1
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337bb2;
/* rgb */ color: rgb(51, 123, 178);
/* oklch */ color: oklch(56.3% 0.111 244.9);
Tailwind
colors: {
  custom: {
    50: '#7aa0c9',
    500: '#337bb2',
    950: '#000000',
  },
}
SCSS
$custom: #337bb2;
$custom-light: #7aa0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#337bb2",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 205.984,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56312,
    "c": 0.11123,
    "h": 244.9
  },
  "luminance": 0.18084
}

Semantic roles & 50–950 ramp

primary
#337BB2
secondary
#C59B7C
accent
#8A49DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #337BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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