#3877D7#3877D7

#3877D7 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.8% C 0.161 H 258.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3877D7
RGBrgb(56, 119, 215)
HSLhsl(216, 67%, 53%)
HSVhsv(216, 74%, 84%)
CMYKcmyk(74%, 44.7%, 0%, 15.7%)
CIE-LABlab(50.62, 12.67, -55.13)
CIE-LCHlch(50.62, 56.57, 282.94°)
OKLaboklab(57.81% -0.0314 -0.158)
OKLCHoklch(57.81% 0.161 258.8)
XYZxyz(20.4890, 18.9384, 66.8525)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877D7 #D79838
analogous
#38C7D7 #3877D7 #4838D7
triadic
#3877D7 #D73877 #77D738
tetradic
#3877D7 #D738C7 #D79838 #38D748
square
#3877D7 #D738C7 #D79838 #38D748
split-complementary
#3877D7 #D74838 #C7D738
monochromatic
#19407C #235AAF #3877D7 #6B9AE1 #9EBDEB

Accessibility & contrast

On white

4.39
#3877D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#3877D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3877D7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877D7#FFFFFF#000000##000000
##3877D71.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4680DB
Deuteranopia (green-blind)
#2572D5
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3877d7;
/* rgb */ color: rgb(56, 119, 215);
/* oklch */ color: oklch(57.8% 0.161 258.8);
Tailwind
colors: {
  custom: {
    50: '#839de4',
    500: '#3877d7',
    950: '#000000',
  },
}
SCSS
$custom: #3877d7;
$custom-light: #839de4;
$custom-dark: #000000;
JSON
{
  "hex": "#3877d7",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 215
  },
  "hsl": {
    "h": 216.226,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.16105,
    "h": 258.8
  },
  "luminance": 0.18941
}

Semantic roles & 50–950 ramp

primary
#3877D7
secondary
#D8BD93
accent
#A63EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #3877D7

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

Preview Lab → · Contrast checker → · Palette generator →

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