#3876CD#3876CD

#3876CD is a mid, vivid blue. Relative luminance 0.182; OKLCH L 56.9% C 0.149 H 257.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3876CD
RGBrgb(56, 118, 205)
HSLhsl(215, 60%, 51%)
HSVhsv(215, 73%, 80%)
CMYKcmyk(72.7%, 42.4%, 0%, 19.6%)
CIE-LABlab(49.74, 9.62, -50.85)
CIE-LCHlch(49.74, 51.75, 280.72°)
OKLaboklab(56.94% -0.0324 -0.1454)
OKLCHoklch(56.94% 0.149 257.4)
XYZxyz(19.1247, 18.2033, 60.2514)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3876CD #CD8F38
analogous
#38C0CD #3876CD #4438CD
triadic
#3876CD #CD3876 #76CD38
tetradic
#3876CD #CD38C0 #CD8F38 #38CD44
square
#3876CD #CD38C0 #CD8F38 #38CD44
split-complementary
#3876CD #CD4438 #C0CD38
monochromatic
#1C3E6F #285AA0 #3876CD #6998D9 #9AB9E6

Accessibility & contrast

On white

4.52
#3876CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#3876CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3876CD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3876CD#FFFFFF#000000##000000
##3876CD1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED0
Deuteranopia (green-blind)
#3170CB
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3876cd;
/* rgb */ color: rgb(56, 118, 205);
/* oklch */ color: oklch(56.9% 0.149 257.4);
Tailwind
colors: {
  custom: {
    50: '#819cdd',
    500: '#3876cd',
    950: '#000000',
  },
}
SCSS
$custom: #3876cd;
$custom-light: #819cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3876cd",
  "rgb": {
    "r": 56,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 215.034,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56942,
    "c": 0.14895,
    "h": 257.4
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

primary
#3876CD
secondary
#D1B68F
accent
#A145E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3876CD

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

Preview Lab → · Contrast checker → · Palette generator →

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