#337EEB#337EEB

#337EEB is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.5% C 0.181 H 258.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#337EEB
RGBrgb(51, 126, 235)
HSLhsl(216, 82%, 56%)
HSVhsv(216, 78%, 92%)
CMYKcmyk(78.3%, 46.4%, 0%, 7.8%)
CIE-LABlab(53.62, 15.12, -61.55)
CIE-LCHlch(53.62, 63.38, 283.80°)
OKLaboklab(60.48% -0.0367 -0.1768)
OKLCHoklch(60.48% 0.181 258.3)
XYZxyz(23.8160, 21.6208, 81.4992)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EEB #EBA033
analogous
#33DAEB #337EEB #4433EB
triadic
#337EEB #EB337E #7EEB33
tetradic
#337EEB #EB33DA #EBA033 #33EB44
square
#337EEB #EB33DA #EBA033 #33EB44
split-complementary
#337EEB #EB4433 #DAEB33
monochromatic
#0F4595 #145FCD #337EEB #6BA1F0 #A2C4F6

Accessibility & contrast

On white

3.94
#337EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#337EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EEB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EEB#FFFFFF#000000##000000
##337EEB1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#0878E9
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #337eeb;
/* rgb */ color: rgb(51, 126, 235);
/* oklch */ color: oklch(60.5% 0.181 258.3);
Tailwind
colors: {
  custom: {
    50: '#85a2f2',
    500: '#337eeb',
    950: '#000000',
  },
}
SCSS
$custom: #337eeb;
$custom-light: #85a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#337eeb",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 215.543,
    "s": 82.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60478,
    "c": 0.18055,
    "h": 258.3
  },
  "luminance": 0.21624
}

Semantic roles & 50–950 ramp

primary
#337EEB
secondary
#E3C497
accent
#A62FF8
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0F17
muted
#7E7E85

Preview Lab

Preview with #337EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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