#7876BF#7876BF

#7876BF is a mid, moderate blue. Relative luminance 0.207; OKLCH L 59.9% C 0.110 H 283.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7876BF
RGBrgb(120, 118, 191)
HSLhsl(242, 36%, 61%)
HSVhsv(242, 38%, 75%)
CMYKcmyk(37.2%, 38.2%, 0%, 25.1%)
CIE-LABlab(52.63, 18.55, -38.03)
CIE-LCHlch(52.63, 42.32, 296.00°)
OKLaboklab(59.88% 0.0262 -0.1067)
OKLCHoklch(59.88% 0.11 283.8)
XYZxyz(23.6255, 20.7107, 52.0329)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876BF #BDBF76
analogous
#7698BF #7876BF #9C76BF
triadic
#7876BF #BF7876 #76BF78
tetradic
#7876BF #BF7698 #BDBF76 #76BF9C
square
#7876BF #BF7698 #BDBF76 #76BF9C
split-complementary
#7876BF #BF9C76 #98BF76
monochromatic
#3D3B7F #514FA9 #7876BF #A1A0D2 #CAC9E6

Accessibility & contrast

On white

4.08
#7876BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7876BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876BF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876BF#FFFFFF#000000##000000
##7876BF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E80C2
Deuteranopia (green-blind)
#5C7BBD
Tritanopia (blue-blind)
#648491
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7876bf;
/* rgb */ color: rgb(120, 118, 191);
/* oklch */ color: oklch(59.9% 0.110 283.8);
Tailwind
colors: {
  custom: {
    50: '#a19dd2',
    500: '#7876bf',
    950: '#000000',
  },
}
SCSS
$custom: #7876bf;
$custom-light: #a19dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7876bf",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 241.644,
    "s": 36.318,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59879,
    "c": 0.10988,
    "h": 283.8
  },
  "luminance": 0.20712
}

Semantic roles & 50–950 ramp

primary
#7876BF
secondary
#D6D6BB
accent
#AF36AC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7876BF

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

Preview Lab → · Contrast checker → · Palette generator →

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