#3877D1#3877D1

#3877D1 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.4% C 0.153 H 257.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3877D1
RGBrgb(56, 119, 209)
HSLhsl(215, 62%, 52%)
HSVhsv(215, 73%, 82%)
CMYKcmyk(73.2%, 43.1%, 0%, 18%)
CIE-LABlab(50.26, 10.47, -52.30)
CIE-LCHlch(50.26, 53.34, 281.32°)
OKLaboklab(57.42% -0.0325 -0.1496)
OKLCHoklch(57.42% 0.153 257.8)
XYZxyz(19.7321, 18.6357, 62.8663)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877D1 #D19238
analogous
#38C4D1 #3877D1 #4638D1
triadic
#3877D1 #D13877 #77D138
tetradic
#3877D1 #D138C4 #D19238 #38D146
square
#3877D1 #D138C4 #D19238 #38D146
split-complementary
#3877D1 #D14638 #C4D138
monochromatic
#1B3F74 #265BA6 #3877D1 #6A99DC #9BBBE8

Accessibility & contrast

On white

4.44
#3877D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#3877D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3877D1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877D1#FFFFFF#000000##000000
##3877D11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7FD4
Deuteranopia (green-blind)
#2F71CF
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3877d1;
/* rgb */ color: rgb(56, 119, 209);
/* oklch */ color: oklch(57.4% 0.153 257.8);
Tailwind
colors: {
  custom: {
    50: '#829ddf',
    500: '#3877d1',
    950: '#000000',
  },
}
SCSS
$custom: #3877d1;
$custom-light: #829ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#3877d1",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 209
  },
  "hsl": {
    "h": 215.294,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57418,
    "c": 0.15312,
    "h": 257.8
  },
  "luminance": 0.18638
}

Semantic roles & 50–950 ramp

primary
#3877D1
secondary
#D4B891
accent
#A242E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3877D1

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

Preview Lab → · Contrast checker → · Palette generator →

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