#337ADE#337ADE

#337ADE is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.168 H 257.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#337ADE
RGBrgb(51, 122, 222)
HSLhsl(215, 72%, 54%)
HSVhsv(215, 77%, 87%)
CMYKcmyk(77%, 45%, 0%, 12.9%)
CIE-LABlab(51.72, 12.79, -57.33)
CIE-LCHlch(51.72, 58.74, 282.58°)
OKLaboklab(58.75% -0.0357 -0.1644)
OKLCHoklch(58.75% 0.168 257.7)
XYZxyz(21.5047, 19.8943, 71.7997)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337ADE #DE9733
analogous
#33CFDE #337ADE #4133DE
triadic
#337ADE #DE337A #7ADE33
tetradic
#337ADE #DE33CF #DE9733 #33DE41
square
#337ADE #DE33CF #DE9733 #33DE41
split-complementary
#337ADE #DE4133 #CFDE33
monochromatic
#154282 #1D5DB6 #337ADE #689CE7 #9CBFEF

Accessibility & contrast

On white

4.22
#337ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#337ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337ADE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337ADE#FFFFFF#000000##000000
##337ADE1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E2
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #337ade;
/* rgb */ color: rgb(51, 122, 222);
/* oklch */ color: oklch(58.8% 0.168 257.7);
Tailwind
colors: {
  custom: {
    50: '#839fe9',
    500: '#337ade',
    950: '#000000',
  },
}
SCSS
$custom: #337ade;
$custom-light: #839fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#337ade",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 222
  },
  "hsl": {
    "h": 215.088,
    "s": 72.152,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.16827,
    "h": 257.7
  },
  "luminance": 0.19897
}

Semantic roles & 50–950 ramp

primary
#337ADE
secondary
#DBBD92
accent
#A339EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #337ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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