#7882BA#7882BA

#7882BA is a light, moderate blue. Relative luminance 0.235; OKLCH L 62.1% C 0.086 H 275.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7882BA
RGBrgb(120, 130, 186)
HSLhsl(231, 32%, 60%)
HSVhsv(231, 35%, 73%)
CMYKcmyk(35.5%, 30.1%, 0%, 27.1%)
CIE-LABlab(55.59, 10.03, -30.55)
CIE-LCHlch(55.59, 32.16, 288.18°)
OKLaboklab(62.08% 0.0087 -0.0851)
OKLCHoklch(62.08% 0.086 275.8)
XYZxyz(24.5887, 23.5026, 49.6857)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7882BA #BAB078
analogous
#78A3BA #7882BA #8F78BA
triadic
#7882BA #BA7882 #82BA78
tetradic
#7882BA #BA78A3 #BAB078 #78BA8F
square
#7882BA #BA78A3 #BAB078 #78BA8F
split-complementary
#7882BA #BA8F78 #A3BA78
monochromatic
#3E477A #535FA2 #7882BA #A0A8CF #C9CDE3

Accessibility & contrast

On white

3.68
#7882BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7882BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7882BA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7882BA#FFFFFF#000000##000000
##7882BA1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BC
Deuteranopia (green-blind)
#6C83B9
Tritanopia (blue-blind)
#658D96
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7882ba;
/* rgb */ color: rgb(120, 130, 186);
/* oklch */ color: oklch(62.1% 0.086 275.8);
Tailwind
colors: {
  custom: {
    50: '#a1a6cf',
    500: '#7882ba',
    950: '#000000',
  },
}
SCSS
$custom: #7882ba;
$custom-light: #a1a6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7882ba",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 186
  },
  "hsl": {
    "h": 230.909,
    "s": 32.353,
    "l": 60
  },
  "oklch": {
    "l": 0.62078,
    "c": 0.08551,
    "h": 275.8
  },
  "luminance": 0.23504
}

Semantic roles & 50–950 ramp

primary
#7882BA
secondary
#D4D0BA
accent
#B95FC9
background
#FAFAFC
surface
#F3F4F9
border
#CDCED2
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #7882BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7882BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva