#3877D3#3877D3

#3877D3 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.5% C 0.156 H 258.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3877D3
RGBrgb(56, 119, 211)
HSLhsl(216, 64%, 52%)
HSVhsv(216, 73%, 83%)
CMYKcmyk(73.5%, 43.6%, 0%, 17.3%)
CIE-LABlab(50.38, 11.20, -53.25)
CIE-LCHlch(50.38, 54.41, 281.88°)
OKLaboklab(57.55% -0.0321 -0.1524)
OKLCHoklch(57.55% 0.156 258.1)
XYZxyz(19.9813, 18.7353, 64.1786)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877D3 #D39438
analogous
#38C4D3 #3877D3 #4738D3
triadic
#3877D3 #D33877 #77D338
tetradic
#3877D3 #D338C4 #D39438 #38D347
square
#3877D3 #D338C4 #D39438 #38D347
split-complementary
#3877D3 #D34738 #C4D338
monochromatic
#1A4076 #255BA9 #3877D3 #6A99DE #9CBCE9

Accessibility & contrast

On white

4.42
#3877D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#3877D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3877D3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877D3#FFFFFF#000000##000000
##3877D31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4980D7
Deuteranopia (green-blind)
#2C71D1
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3877d3;
/* rgb */ color: rgb(56, 119, 211);
/* oklch */ color: oklch(57.5% 0.156 258.1);
Tailwind
colors: {
  custom: {
    50: '#829de1',
    500: '#3877d3',
    950: '#000000',
  },
}
SCSS
$custom: #3877d3;
$custom-light: #829de1;
$custom-dark: #000000;
JSON
{
  "hex": "#3877d3",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 211
  },
  "hsl": {
    "h": 215.613,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57547,
    "c": 0.15576,
    "h": 258.1
  },
  "luminance": 0.18738
}

Semantic roles & 50–950 ramp

primary
#3877D3
secondary
#D5BA92
accent
#A341E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3877D3

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

Preview Lab → · Contrast checker → · Palette generator →

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