#7982BA#7982BA

#7982BA is a light, moderate blue. Relative luminance 0.236; OKLCH L 62.2% C 0.085 H 276.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7982BA
RGBrgb(121, 130, 186)
HSLhsl(232, 32%, 60%)
HSVhsv(232, 35%, 73%)
CMYKcmyk(34.9%, 30.1%, 0%, 27.1%)
CIE-LABlab(55.66, 10.32, -30.43)
CIE-LCHlch(55.66, 32.13, 288.73°)
OKLaboklab(62.15% 0.0098 -0.0847)
OKLCHoklch(62.15% 0.085 276.6)
XYZxyz(24.7282, 23.5745, 49.6923)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982BA #BAB179
analogous
#79A3BA #7982BA #9079BA
triadic
#7982BA #BA7982 #82BA79
tetradic
#7982BA #BA79A3 #BAB179 #79BA90
square
#7982BA #BA79A3 #BAB179 #79BA90
split-complementary
#7982BA #BA9079 #A3BA79
monochromatic
#3F477A #545EA2 #7982BA #A1A8CF #CACDE4

Accessibility & contrast

On white

3.67
#7982BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7982BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982BA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982BA#FFFFFF#000000##000000
##7982BA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7982ba;
/* rgb */ color: rgb(121, 130, 186);
/* oklch */ color: oklch(62.2% 0.085 276.6);
Tailwind
colors: {
  custom: {
    50: '#a1a6cf',
    500: '#7982ba',
    950: '#000000',
  },
}
SCSS
$custom: #7982ba;
$custom-light: #a1a6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7982ba",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 186
  },
  "hsl": {
    "h": 231.692,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62153,
    "c": 0.08528,
    "h": 276.6
  },
  "luminance": 0.23575
}

Semantic roles & 50–950 ramp

primary
#7982BA
secondary
#D4D0BB
accent
#9B3BAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #7982BA

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

Preview Lab → · Contrast checker → · Palette generator →

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