#3378DC#3378DC

#3378DC is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.2% C 0.168 H 258.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3378DC
RGBrgb(51, 120, 220)
HSLhsl(216, 71%, 53%)
HSVhsv(216, 77%, 86%)
CMYKcmyk(76.8%, 45.5%, 0%, 13.7%)
CIE-LABlab(51.04, 13.29, -57.29)
CIE-LCHlch(51.04, 58.81, 283.06°)
OKLaboklab(58.19% -0.0345 -0.1644)
OKLCHoklch(58.19% 0.168 258.1)
XYZxyz(20.9952, 19.3016, 70.3153)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3378DC #DC9733
analogous
#33CCDC #3378DC #4233DC
triadic
#3378DC #DC3378 #78DC33
tetradic
#3378DC #DC33CC #DC9733 #33DC42
square
#3378DC #DC33CC #DC9733 #33DC42
split-complementary
#3378DC #DC4233 #CCDC33
monochromatic
#16417F #1F5BB3 #3378DC #679BE5 #9BBDEE

Accessibility & contrast

On white

4.32
#3378DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3378DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3378DC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3378DC#FFFFFF#000000##000000
##3378DC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#1B72DA
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3378dc;
/* rgb */ color: rgb(51, 120, 220);
/* oklch */ color: oklch(58.2% 0.168 258.1);
Tailwind
colors: {
  custom: {
    50: '#829ee7',
    500: '#3378dc',
    950: '#000000',
  },
}
SCSS
$custom: #3378dc;
$custom-light: #829ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#3378dc",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 215.503,
    "s": 70.711,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58188,
    "c": 0.16794,
    "h": 258.1
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#3378DC
secondary
#DABC91
accent
#A43AED
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3378DC

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

Preview Lab → · Contrast checker → · Palette generator →

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