#7882AC#7882AC

#7882AC is a mid, moderate blue. Relative luminance 0.229; OKLCH L 61.4% C 0.065 H 274.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7882AC
RGBrgb(120, 130, 172)
HSLhsl(228, 24%, 57%)
HSVhsv(228, 30%, 67%)
CMYKcmyk(30.2%, 24.4%, 0%, 32.5%)
CIE-LABlab(55.01, 6.29, -23.43)
CIE-LCHlch(55.01, 24.26, 285.04°)
OKLaboklab(61.44% 0.0045 -0.0647)
OKLCHoklch(61.44% 0.065 274)
XYZxyz(23.1727, 22.9362, 42.2279)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7882AC #ACA278
analogous
#789CAC #7882AC #8878AC
triadic
#7882AC #AC7882 #82AC78
tetradic
#7882AC #AC789C #ACA278 #78AC88
square
#7882AC #AC789C #ACA278 #78AC88
split-complementary
#7882AC #AC8878 #9CAC78
monochromatic
#414869 #58628F #7882AC #9EA5C3 #C4C8DB

Accessibility & contrast

On white

3.76
#7882AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7882AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7882AC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7882AC#FFFFFF#000000##000000
##7882AC1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7586AE
Deuteranopia (green-blind)
#7282AB
Tritanopia (blue-blind)
#6A8A90
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7882ac;
/* rgb */ color: rgb(120, 130, 172);
/* oklch */ color: oklch(61.4% 0.065 274.0);
Tailwind
colors: {
  custom: {
    50: '#a0a6c4',
    500: '#7882ac',
    950: '#000000',
  },
}
SCSS
$custom: #7882ac;
$custom-light: #a0a6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7882ac",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 172
  },
  "hsl": {
    "h": 228.462,
    "s": 23.853,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61437,
    "c": 0.06486,
    "h": 274
  },
  "luminance": 0.22937
}

Semantic roles & 50–950 ramp

primary
#7882AC
secondary
#CAC6B5
accent
#AF67C0
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F0F12
muted
#7E7F81

Preview Lab

Preview with #7882AC

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

Preview Lab → · Contrast checker → · Palette generator →

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