#3C78D7#3C78D7

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

Color values

HEX#3C78D7
RGBrgb(60, 120, 215)
HSLhsl(217, 66%, 54%)
HSVhsv(217, 72%, 84%)
CMYKcmyk(72.1%, 44.2%, 0%, 15.7%)
CIE-LABlab(51.03, 12.57, -54.45)
CIE-LCHlch(51.03, 55.89, 283.00°)
OKLaboklab(58.17% -0.0295 -0.1559)
OKLCHoklch(58.17% 0.159 259.3)
XYZxyz(20.8413, 19.2976, 66.9032)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C78D7 #D79B3C
analogous
#3CC6D7 #3C78D7 #4E3CD7
triadic
#3C78D7 #D73C78 #78D73C
tetradic
#3C78D7 #D73CC6 #D79B3C #3CD74E
square
#3C78D7 #D73CC6 #D79B3C #3CD74E
split-complementary
#3C78D7 #D74E3C #C6D73C
monochromatic
#1A417F #245BB1 #3C78D7 #6F9BE1 #A2BEEC

Accessibility & contrast

On white

4.32
#3C78D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3C78D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3C78D7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C78D7#FFFFFF#000000##000000
##3C78D71.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)
#4881DB
Deuteranopia (green-blind)
#2A73D5
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3c78d7;
/* rgb */ color: rgb(60, 120, 215);
/* oklch */ color: oklch(58.2% 0.159 259.3);
Tailwind
colors: {
  custom: {
    50: '#859ee4',
    500: '#3c78d7',
    950: '#000000',
  },
}
SCSS
$custom: #3c78d7;
$custom-light: #859ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c78d7",
  "rgb": {
    "r": 60,
    "g": 120,
    "b": 215
  },
  "hsl": {
    "h": 216.774,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58171,
    "c": 0.15866,
    "h": 259.3
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#3C78D7
secondary
#D8BF96
accent
#A73FE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #3C78D7

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

Preview Lab → · Contrast checker → · Palette generator →

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