#337EB8#337EB8

#337EB8 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.116 H 245.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#337EB8
RGBrgb(51, 126, 184)
HSLhsl(206, 57%, 46%)
HSVhsv(206, 72%, 72%)
CMYKcmyk(72.3%, 31.5%, 0%, 27.8%)
CIE-LABlab(50.79, -3.56, -37.17)
CIE-LCHlch(50.79, 37.34, 264.53°)
OKLaboklab(57.35% -0.0484 -0.1053)
OKLCHoklch(57.35% 0.116 245.3)
XYZxyz(17.4745, 19.0843, 48.1008)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EB8 #B86D33
analogous
#33B8AF #337EB8 #333CB8
triadic
#337EB8 #B8337E #7EB833
tetradic
#337EB8 #AF33B8 #B86D33 #3CB833
square
#337EB8 #AF33B8 #B86D33 #3CB833
split-complementary
#337EB8 #B8333C #B8AF33
monochromatic
#183C58 #265D88 #337EB8 #589CD1 #88B8DE

Accessibility & contrast

On white

4.36
#337EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#337EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EB8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EB8#FFFFFF#000000##000000
##337EB81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6480BB
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #337eb8;
/* rgb */ color: rgb(51, 126, 184);
/* oklch */ color: oklch(57.3% 0.116 245.3);
Tailwind
colors: {
  custom: {
    50: '#7ba3cd',
    500: '#337eb8',
    950: '#000000',
  },
}
SCSS
$custom: #337eb8;
$custom-light: #7ba3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#337eb8",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 184
  },
  "hsl": {
    "h": 206.165,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57347,
    "c": 0.11588,
    "h": 245.3
  },
  "luminance": 0.19086
}

Semantic roles & 50–950 ramp

primary
#337EB8
secondary
#C89F7F
accent
#8A48E0
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #337EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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