#337CB8#337CB8

#337CB8 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.9% C 0.118 H 246.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#337CB8
RGBrgb(51, 124, 184)
HSLhsl(207, 57%, 46%)
HSVhsv(207, 72%, 72%)
CMYKcmyk(72.3%, 32.6%, 0%, 27.8%)
CIE-LABlab(50.19, -2.37, -38.11)
CIE-LCHlch(50.19, 38.19, 266.44°)
OKLaboklab(56.88% -0.0464 -0.108)
OKLCHoklch(56.88% 0.118 246.7)
XYZxyz(17.2213, 18.5779, 48.0164)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337CB8 #B86F33
analogous
#33B8B1 #337CB8 #3339B8
triadic
#337CB8 #B8337C #7CB833
tetradic
#337CB8 #B133B8 #B86F33 #39B833
square
#337CB8 #B133B8 #B86F33 #39B833
split-complementary
#337CB8 #B83339 #B8B133
monochromatic
#183B58 #265C88 #337CB8 #589AD1 #88B7DE

Accessibility & contrast

On white

4.45
#337CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#337CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337CB8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337CB8#FFFFFF#000000##000000
##337CB81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#617EBB
Deuteranopia (green-blind)
#4E72B7
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337cb8;
/* rgb */ color: rgb(51, 124, 184);
/* oklch */ color: oklch(56.9% 0.118 246.7);
Tailwind
colors: {
  custom: {
    50: '#7ba1cd',
    500: '#337cb8',
    950: '#000000',
  },
}
SCSS
$custom: #337cb8;
$custom-light: #7ba1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#337cb8",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 184
  },
  "hsl": {
    "h": 207.068,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.1176,
    "h": 246.7
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

primary
#337CB8
secondary
#C8A07F
accent
#8C48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #337CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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