#3876C4#3876C4

#3876C4 is a mid, vivid cyan. Relative luminance 0.178; OKLCH L 56.4% C 0.137 H 255.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3876C4
RGBrgb(56, 118, 196)
HSLhsl(213, 56%, 49%)
HSVhsv(213, 71%, 77%)
CMYKcmyk(71.4%, 39.8%, 0%, 23.1%)
CIE-LABlab(49.23, 6.34, -46.52)
CIE-LCHlch(49.23, 46.95, 277.76°)
OKLaboklab(56.38% -0.0343 -0.1327)
OKLCHoklch(56.38% 0.137 255.5)
XYZxyz(18.0695, 17.7812, 54.6937)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3876C4 #C48638
analogous
#38BCC4 #3876C4 #4038C4
triadic
#3876C4 #C43876 #76C438
tetradic
#3876C4 #C438BC #C48638 #38C440
square
#3876C4 #C438BC #C48638 #38C440
split-complementary
#3876C4 #C44038 #BCC438
monochromatic
#1D3D65 #2A5994 #3876C4 #6696D3 #96B7E1

Accessibility & contrast

On white

4.61
#3876C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3876C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3876C4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3876C4#FFFFFF#000000##FFFFFF
##3876C41.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#527CC7
Deuteranopia (green-blind)
#3C6FC2
Tritanopia (blue-blind)
#008893
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3876c4;
/* rgb */ color: rgb(56, 118, 196);
/* oklch */ color: oklch(56.4% 0.137 255.5);
Tailwind
colors: {
  custom: {
    50: '#7f9dd6',
    500: '#3876c4',
    950: '#000000',
  },
}
SCSS
$custom: #3876c4;
$custom-light: #7f9dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3876c4",
  "rgb": {
    "r": 56,
    "g": 118,
    "b": 196
  },
  "hsl": {
    "h": 213.429,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56378,
    "c": 0.13705,
    "h": 255.5
  },
  "luminance": 0.17783
}

Semantic roles & 50–950 ramp

primary
#3876C4
secondary
#CCB08C
accent
#9C49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3876C4

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

Preview Lab → · Contrast checker → · Palette generator →

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