#3878DF#3878DF

#3878DF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.6% C 0.170 H 259.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3878DF
RGBrgb(56, 120, 223)
HSLhsl(217, 72%, 55%)
HSVhsv(217, 75%, 87%)
CMYKcmyk(74.9%, 46.2%, 0%, 12.5%)
CIE-LABlab(51.38, 14.98, -58.42)
CIE-LCHlch(51.38, 60.31, 284.38°)
OKLaboklab(58.56% -0.0308 -0.1676)
OKLCHoklch(58.56% 0.17 259.6)
XYZxyz(21.6618, 19.5990, 72.4391)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878DF #DF9F38
analogous
#38CBDF #3878DF #4C38DF
triadic
#3878DF #DF3878 #78DF38
tetradic
#3878DF #DF38CB #DF9F38 #38DF4C
square
#3878DF #DF38CB #DF9F38 #38DF4C
split-complementary
#3878DF #DF4C38 #CBDF38
monochromatic
#164187 #1E5BBC #3878DF #6D9CE7 #A1C0F0

Accessibility & contrast

On white

4.27
#3878DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#3878DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878DF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878DF#FFFFFF#000000##000000
##3878DF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4183E3
Deuteranopia (green-blind)
#1673DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3878df;
/* rgb */ color: rgb(56, 120, 223);
/* oklch */ color: oklch(58.6% 0.170 259.6);
Tailwind
colors: {
  custom: {
    50: '#859eea',
    500: '#3878df',
    950: '#000000',
  },
}
SCSS
$custom: #3878df;
$custom-light: #859eea;
$custom-dark: #000000;
JSON
{
  "hex": "#3878df",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 217.006,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58556,
    "c": 0.17043,
    "h": 259.6
  },
  "luminance": 0.19601
}

Semantic roles & 50–950 ramp

primary
#3878DF
secondary
#DDC296
accent
#A939EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3878DF

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

Preview Lab → · Contrast checker → · Palette generator →

#3878DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva