#3876DF#3876DF

#3876DF is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.1% C 0.173 H 260.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3876DF
RGBrgb(56, 118, 223)
HSLhsl(218, 72%, 55%)
HSVhsv(218, 75%, 87%)
CMYKcmyk(74.9%, 47.1%, 0%, 12.5%)
CIE-LABlab(50.83, 16.23, -59.31)
CIE-LCHlch(50.83, 61.49, 285.30°)
OKLaboklab(58.13% -0.0292 -0.1703)
OKLCHoklch(58.13% 0.173 260.3)
XYZxyz(21.4238, 19.1229, 72.3597)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3876DF #DFA138
analogous
#38C9DF #3876DF #4E38DF
triadic
#3876DF #DF3876 #76DF38
tetradic
#3876DF #DF38C9 #DFA138 #38DF4E
square
#3876DF #DF38C9 #DFA138 #38DF4E
split-complementary
#3876DF #DF4E38 #C9DF38
monochromatic
#164087 #1E59BC #3876DF #6D9AE7 #A1BFF0

Accessibility & contrast

On white

4.35
#3876DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#3876DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3876DF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3876DF#FFFFFF#000000##000000
##3876DF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E3
Deuteranopia (green-blind)
#0772DD
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3876df;
/* rgb */ color: rgb(56, 118, 223);
/* oklch */ color: oklch(58.1% 0.173 260.3);
Tailwind
colors: {
  custom: {
    50: '#859cea',
    500: '#3876df',
    950: '#000000',
  },
}
SCSS
$custom: #3876df;
$custom-light: #859cea;
$custom-dark: #000000;
JSON
{
  "hex": "#3876df",
  "rgb": {
    "r": 56,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 217.725,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.17275,
    "h": 260.3
  },
  "luminance": 0.19125
}

Semantic roles & 50–950 ramp

primary
#3876DF
secondary
#DDC296
accent
#AB39EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3876DF

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

Preview Lab → · Contrast checker → · Palette generator →

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