#337EB3#337EB3

#337EB3 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.110 H 243.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#337EB3
RGBrgb(51, 126, 179)
HSLhsl(205, 56%, 45%)
HSVhsv(205, 72%, 70%)
CMYKcmyk(71.5%, 29.6%, 0%, 29.8%)
CIE-LABlab(50.54, -5.34, -34.67)
CIE-LCHlch(50.54, 35.08, 261.24°)
OKLaboklab(57.08% -0.0499 -0.098)
OKLCHoklch(57.08% 0.11 243)
XYZxyz(16.9596, 18.8783, 45.3891)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EB3 #B36833
analogous
#33B3A8 #337EB3 #333EB3
triadic
#337EB3 #B3337E #7EB333
tetradic
#337EB3 #A833B3 #B36833 #3EB333
square
#337EB3 #A833B3 #B36833 #3EB333
split-complementary
#337EB3 #B3333E #B3A833
monochromatic
#183B54 #255C83 #337EB3 #559CCE #84B8DC

Accessibility & contrast

On white

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

On black

4.78
#337EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EB3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EB3#FFFFFF#000000##000000
##337EB31.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB5
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337eb3;
/* rgb */ color: rgb(51, 126, 179);
/* oklch */ color: oklch(57.1% 0.110 243.0);
Tailwind
colors: {
  custom: {
    50: '#7ba3ca',
    500: '#337eb3',
    950: '#000000',
  },
}
SCSS
$custom: #337eb3;
$custom-light: #7ba3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#337eb3",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 204.844,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57078,
    "c": 0.11,
    "h": 243
  },
  "luminance": 0.1888
}

Semantic roles & 50–950 ramp

primary
#337EB3
secondary
#C69B7C
accent
#8749DF
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #337EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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