#3876D7#3876D7

#3876D7 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.6% C 0.162 H 259.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3876D7
RGBrgb(56, 118, 215)
HSLhsl(217, 67%, 53%)
HSVhsv(217, 74%, 84%)
CMYKcmyk(74%, 45.1%, 0%, 15.7%)
CIE-LABlab(50.34, 13.29, -55.58)
CIE-LCHlch(50.34, 57.15, 283.45°)
OKLaboklab(57.59% -0.0305 -0.1593)
OKLCHoklch(57.59% 0.162 259.2)
XYZxyz(20.3706, 18.7016, 66.8130)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3876D7 #D79938
analogous
#38C5D7 #3876D7 #4938D7
triadic
#3876D7 #D73876 #76D738
tetradic
#3876D7 #D738C5 #D79938 #38D749
square
#3876D7 #D738C5 #D79938 #38D749
split-complementary
#3876D7 #D74938 #C5D738
monochromatic
#193F7C #235AAF #3876D7 #6B99E1 #9EBCEB

Accessibility & contrast

On white

4.43
#3876D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#3876D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3876D7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3876D7#FFFFFF#000000##000000
##3876D71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4480DB
Deuteranopia (green-blind)
#2171D5
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3876d7;
/* rgb */ color: rgb(56, 118, 215);
/* oklch */ color: oklch(57.6% 0.162 259.2);
Tailwind
colors: {
  custom: {
    50: '#839ce4',
    500: '#3876d7',
    950: '#000000',
  },
}
SCSS
$custom: #3876d7;
$custom-light: #839ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#3876d7",
  "rgb": {
    "r": 56,
    "g": 118,
    "b": 215
  },
  "hsl": {
    "h": 216.604,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57594,
    "c": 0.1622,
    "h": 259.2
  },
  "luminance": 0.18704
}

Semantic roles & 50–950 ramp

primary
#3876D7
secondary
#D8BD93
accent
#A73EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3876D7

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

Preview Lab → · Contrast checker → · Palette generator →

#3876D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva