#3C78E1#3C78E1

#3C78E1 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.172 H 260.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3C78E1
RGBrgb(60, 120, 225)
HSLhsl(218, 73%, 56%)
HSVhsv(218, 73%, 88%)
CMYKcmyk(73.3%, 46.7%, 0%, 11.8%)
CIE-LABlab(51.64, 16.21, -59.12)
CIE-LCHlch(51.64, 61.30, 285.33°)
OKLaboklab(58.84% -0.0278 -0.1696)
OKLCHoklch(58.84% 0.172 260.7)
XYZxyz(22.1657, 19.8274, 73.8784)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C78E1 #E1A53C
analogous
#3CCAE1 #3C78E1 #523CE1
triadic
#3C78E1 #E13C78 #78E13C
tetradic
#3C78E1 #E13CCA #E1A53C #3CE152
square
#3C78E1 #E13CCA #E1A53C #3CE152
split-complementary
#3C78E1 #E1523C #CAE13C
monochromatic
#16418D #1E5AC2 #3C78E1 #719DE9 #A6C1F1

Accessibility & contrast

On white

4.23
#3C78E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#3C78E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3C78E1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C78E1#FFFFFF#000000##000000
##3C78E11.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F83E5
Deuteranopia (green-blind)
#1374DF
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3c78e1;
/* rgb */ color: rgb(60, 120, 225);
/* oklch */ color: oklch(58.8% 0.172 260.7);
Tailwind
colors: {
  custom: {
    50: '#879eeb',
    500: '#3c78e1',
    950: '#000000',
  },
}
SCSS
$custom: #3c78e1;
$custom-light: #879eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#3c78e1",
  "rgb": {
    "r": 60,
    "g": 120,
    "b": 225
  },
  "hsl": {
    "h": 218.182,
    "s": 73.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58835,
    "c": 0.17188,
    "h": 260.7
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

primary
#3C78E1
secondary
#DFC69A
accent
#AD38F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3C78E1

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

Preview Lab → · Contrast checker → · Palette generator →

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