#3371DC#3371DC

#3371DC is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.7% C 0.176 H 260.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3371DC
RGBrgb(51, 113, 220)
HSLhsl(218, 71%, 53%)
HSVhsv(218, 77%, 86%)
CMYKcmyk(76.8%, 48.6%, 0%, 13.7%)
CIE-LABlab(49.10, 17.68, -60.40)
CIE-LCHlch(49.10, 62.94, 286.32°)
OKLaboklab(56.7% -0.029 -0.1736)
OKLCHoklch(56.7% 0.176 260.5)
XYZxyz(20.1840, 17.6790, 70.0449)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3371DC #DC9E33
analogous
#33C5DC #3371DC #4933DC
triadic
#3371DC #DC3371 #71DC33
tetradic
#3371DC #DC33C5 #DC9E33 #33DC49
square
#3371DC #DC33C5 #DC9E33 #33DC49
split-complementary
#3371DC #DC4933 #C5DC33
monochromatic
#163C7F #1F55B3 #3371DC #6795E5 #9BBAEE

Accessibility & contrast

On white

4.63
#3371DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#3371DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3371DC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3371DC#FFFFFF#000000##FFFFFF
##3371DC1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#327DE0
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3371dc;
/* rgb */ color: rgb(51, 113, 220);
/* oklch */ color: oklch(56.7% 0.176 260.5);
Tailwind
colors: {
  custom: {
    50: '#8399e7',
    500: '#3371dc',
    950: '#000000',
  },
}
SCSS
$custom: #3371dc;
$custom-light: #8399e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3371dc",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 217.988,
    "s": 70.711,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56701,
    "c": 0.17605,
    "h": 260.5
  },
  "luminance": 0.17681
}

Semantic roles & 50–950 ramp

primary
#3371DC
secondary
#DABF91
accent
#AC3AED
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3371DC

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

Preview Lab → · Contrast checker → · Palette generator →

#3371DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva