#337FEB#337FEB

#337FEB is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.7% C 0.179 H 258.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#337FEB
RGBrgb(51, 127, 235)
HSLhsl(215, 82%, 56%)
HSVhsv(215, 78%, 92%)
CMYKcmyk(78.3%, 46%, 0%, 7.8%)
CIE-LABlab(53.90, 14.50, -61.11)
CIE-LCHlch(53.90, 62.81, 283.35°)
OKLaboklab(60.69% -0.0374 -0.1755)
OKLCHoklch(60.69% 0.179 258)
XYZxyz(23.9445, 21.8779, 81.5420)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FEB #EB9F33
analogous
#33DBEB #337FEB #4333EB
triadic
#337FEB #EB337F #7FEB33
tetradic
#337FEB #EB33DB #EB9F33 #33EB43
square
#337FEB #EB33DB #EB9F33 #33EB43
split-complementary
#337FEB #EB4333 #DBEB33
monochromatic
#0F4695 #1460CD #337FEB #6BA2F0 #A2C5F6

Accessibility & contrast

On white

3.91
#337FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#337FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FEB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FEB#FFFFFF#000000##000000
##337FEB1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#1179E9
Tritanopia (blue-blind)
#0099A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #337feb;
/* rgb */ color: rgb(51, 127, 235);
/* oklch */ color: oklch(60.7% 0.179 258.0);
Tailwind
colors: {
  custom: {
    50: '#85a3f2',
    500: '#337feb',
    950: '#000000',
  },
}
SCSS
$custom: #337feb;
$custom-light: #85a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#337feb",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 215.217,
    "s": 82.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6069,
    "c": 0.17942,
    "h": 258
  },
  "luminance": 0.21881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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