#3876D3#3876D3

#3876D3 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.3% C 0.157 H 258.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3876D3
RGBrgb(56, 118, 211)
HSLhsl(216, 64%, 52%)
HSVhsv(216, 73%, 83%)
CMYKcmyk(73.5%, 44.1%, 0%, 17.3%)
CIE-LABlab(50.10, 11.82, -53.70)
CIE-LCHlch(50.10, 54.98, 282.41°)
OKLaboklab(57.33% -0.0312 -0.1538)
OKLCHoklch(57.33% 0.157 258.5)
XYZxyz(19.8629, 18.4986, 64.1391)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3876D3 #D39538
analogous
#38C4D3 #3876D3 #4838D3
triadic
#3876D3 #D33876 #76D338
tetradic
#3876D3 #D338C4 #D39538 #38D348
square
#3876D3 #D338C4 #D39538 #38D348
split-complementary
#3876D3 #D34838 #C4D338
monochromatic
#1A3F76 #255AA9 #3876D3 #6A99DE #9CBBE9

Accessibility & contrast

On white

4.47
#3876D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#3876D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3876D3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3876D3#FFFFFF#000000##000000
##3876D31.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#477FD7
Deuteranopia (green-blind)
#2971D1
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3876d3;
/* rgb */ color: rgb(56, 118, 211);
/* oklch */ color: oklch(57.3% 0.157 258.5);
Tailwind
colors: {
  custom: {
    50: '#829ce1',
    500: '#3876d3',
    950: '#000000',
  },
}
SCSS
$custom: #3876d3;
$custom-light: #829ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#3876d3",
  "rgb": {
    "r": 56,
    "g": 118,
    "b": 211
  },
  "hsl": {
    "h": 216,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5733,
    "c": 0.1569,
    "h": 258.5
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3876D3

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

Preview Lab → · Contrast checker → · Palette generator →

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