#3876BF#3876BF

#3876BF is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 56.1% C 0.130 H 254.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3876BF
RGBrgb(56, 118, 191)
HSLhsl(212, 55%, 48%)
HSVhsv(212, 71%, 75%)
CMYKcmyk(70.7%, 38.2%, 0%, 25.1%)
CIE-LABlab(48.95, 4.52, -44.09)
CIE-LCHlch(48.95, 44.32, 275.86°)
OKLaboklab(56.08% -0.0355 -0.1255)
OKLCHoklch(56.08% 0.13 254.2)
XYZxyz(17.5098, 17.5573, 51.7462)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3876BF #BF8138
analogous
#38B9BF #3876BF #3D38BF
triadic
#3876BF #BF3876 #76BF38
tetradic
#3876BF #BF38B9 #BF8138 #38BF3D
square
#3876BF #BF38B9 #BF8138 #38BF3D
split-complementary
#3876BF #BF3D38 #B9BF38
monochromatic
#1C3C60 #2A5990 #3876BF #6396D1 #92B6DF

Accessibility & contrast

On white

4.65
#3876BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3876BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3876BF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3876BF#FFFFFF#000000##FFFFFF
##3876BF1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#557BC2
Deuteranopia (green-blind)
#406FBE
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3876bf;
/* rgb */ color: rgb(56, 118, 191);
/* oklch */ color: oklch(56.1% 0.130 254.2);
Tailwind
colors: {
  custom: {
    50: '#7f9dd3',
    500: '#3876bf',
    950: '#000000',
  },
}
SCSS
$custom: #3876bf;
$custom-light: #7f9dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3876bf",
  "rgb": {
    "r": 56,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 212.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56075,
    "c": 0.13047,
    "h": 254.2
  },
  "luminance": 0.17559
}

Semantic roles & 50–950 ramp

primary
#3876BF
secondary
#CAAC89
accent
#9A4ADE
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3876BF

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

Preview Lab → · Contrast checker → · Palette generator →

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