#3E78D8#3E78D8

#3E78D8 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.3% C 0.159 H 259.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3E78D8
RGBrgb(62, 120, 216)
HSLhsl(217, 66%, 55%)
HSVhsv(217, 71%, 85%)
CMYKcmyk(71.3%, 44.4%, 0%, 15.3%)
CIE-LABlab(51.17, 13.21, -54.80)
CIE-LCHlch(51.17, 56.37, 283.55°)
OKLaboklab(58.31% -0.0279 -0.1569)
OKLCHoklch(58.31% 0.159 259.9)
XYZxyz(21.0933, 19.4127, 67.5878)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E78D8 #D89E3E
analogous
#3EC5D8 #3E78D8 #513ED8
triadic
#3E78D8 #D83E78 #78D83E
tetradic
#3E78D8 #D83EC5 #D89E3E #3ED851
square
#3E78D8 #D83EC5 #D89E3E #3ED851
split-complementary
#3E78D8 #D8513E #C5D83E
monochromatic
#1A4181 #245BB4 #3E78D8 #719CE2 #A4BFED

Accessibility & contrast

On white

4.30
#3E78D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#3E78D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E78D8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E78D8#FFFFFF#000000##000000
##3E78D81.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4881DC
Deuteranopia (green-blind)
#2A73D6
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3e78d8;
/* rgb */ color: rgb(62, 120, 216);
/* oklch */ color: oklch(58.3% 0.159 259.9);
Tailwind
colors: {
  custom: {
    50: '#869ee4',
    500: '#3e78d8',
    950: '#000000',
  },
}
SCSS
$custom: #3e78d8;
$custom-light: #869ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e78d8",
  "rgb": {
    "r": 62,
    "g": 120,
    "b": 216
  },
  "hsl": {
    "h": 217.403,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58313,
    "c": 0.15935,
    "h": 259.9
  },
  "luminance": 0.19415
}

Semantic roles & 50–950 ramp

primary
#3E78D8
secondary
#D9C198
accent
#A93EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3E78D8

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

Preview Lab → · Contrast checker → · Palette generator →

#3E78D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva