#7882B2#7882B2

#7882B2 is a mid, moderate blue. Relative luminance 0.232; OKLCH L 61.7% C 0.074 H 275.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7882B2
RGBrgb(120, 130, 178)
HSLhsl(230, 27%, 58%)
HSVhsv(230, 33%, 70%)
CMYKcmyk(32.6%, 27%, 0%, 30.2%)
CIE-LABlab(55.25, 7.87, -26.50)
CIE-LCHlch(55.25, 27.64, 286.55°)
OKLaboklab(61.71% 0.0064 -0.0734)
OKLCHoklch(61.71% 0.074 275)
XYZxyz(23.7620, 23.1719, 45.3315)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7882B2 #B2A878
analogous
#789FB2 #7882B2 #8B78B2
triadic
#7882B2 #B27882 #82B278
tetradic
#7882B2 #B2789F #B2A878 #78B28B
square
#7882B2 #B2789F #B2A878 #78B28B
split-complementary
#7882B2 #B28B78 #9FB278
monochromatic
#404870 #566197 #7882B2 #9FA6C8 #C6CADE

Accessibility & contrast

On white

3.73
#7882B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7882B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7882B2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7882B2#FFFFFF#000000##000000
##7882B21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B4
Deuteranopia (green-blind)
#6F82B1
Tritanopia (blue-blind)
#688B93
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7882b2;
/* rgb */ color: rgb(120, 130, 178);
/* oklch */ color: oklch(61.7% 0.074 275.0);
Tailwind
colors: {
  custom: {
    50: '#a0a6c9',
    500: '#7882b2',
    950: '#000000',
  },
}
SCSS
$custom: #7882b2;
$custom-light: #a0a6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7882b2",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 178
  },
  "hsl": {
    "h": 229.655,
    "s": 27.358,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61705,
    "c": 0.07373,
    "h": 275
  },
  "luminance": 0.23173
}

Semantic roles & 50–950 ramp

primary
#7882B2
secondary
#CECAB7
accent
#B364C4
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #7882B2

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

Preview Lab → · Contrast checker → · Palette generator →

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