#337EB2#337EB2

#337EB2 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.109 H 242.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#337EB2
RGBrgb(51, 126, 178)
HSLhsl(205, 55%, 45%)
HSVhsv(205, 71%, 70%)
CMYKcmyk(71.3%, 29.2%, 0%, 30.2%)
CIE-LABlab(50.50, -5.69, -34.17)
CIE-LCHlch(50.50, 34.64, 260.54°)
OKLaboklab(57.02% -0.0503 -0.0965)
OKLCHoklch(57.02% 0.109 242.5)
XYZxyz(16.8589, 18.8380, 44.8584)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EB2 #B26733
analogous
#33B2A7 #337EB2 #333EB2
triadic
#337EB2 #B2337E #7EB233
tetradic
#337EB2 #A733B2 #B26733 #3EB233
square
#337EB2 #A733B2 #B26733 #3EB233
split-complementary
#337EB2 #B2333E #B2A733
monochromatic
#183B53 #255C82 #337EB2 #549CCE #84B8DC

Accessibility & contrast

On white

4.40
#337EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#337EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EB2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EB2#FFFFFF#000000##000000
##337EB21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB4
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337eb2;
/* rgb */ color: rgb(51, 126, 178);
/* oklch */ color: oklch(57.0% 0.109 242.5);
Tailwind
colors: {
  custom: {
    50: '#7aa3c9',
    500: '#337eb2',
    950: '#000000',
  },
}
SCSS
$custom: #337eb2;
$custom-light: #7aa3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#337eb2",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 204.567,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.10884,
    "h": 242.5
  },
  "luminance": 0.1884
}

Semantic roles & 50–950 ramp

primary
#337EB2
secondary
#C59A7C
accent
#8649DF
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #337EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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