#7981BA#7981BA

#7981BA is a mid, moderate blue. Relative luminance 0.233; OKLCH L 61.9% C 0.087 H 277.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7981BA
RGBrgb(121, 129, 186)
HSLhsl(233, 32%, 60%)
HSVhsv(233, 35%, 73%)
CMYKcmyk(34.9%, 30.6%, 0%, 27.1%)
CIE-LABlab(55.39, 10.91, -30.85)
CIE-LCHlch(55.39, 32.72, 289.47°)
OKLaboklab(61.94% 0.0112 -0.0859)
OKLCHoklch(61.94% 0.087 277.4)
XYZxyz(24.5958, 23.3097, 49.6482)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7981BA #BAB279
analogous
#79A2BA #7981BA #9179BA
triadic
#7981BA #BA7981 #81BA79
tetradic
#7981BA #BA79A2 #BAB279 #79BA91
square
#7981BA #BA79A2 #BAB279 #79BA91
split-complementary
#7981BA #BA9179 #A2BA79
monochromatic
#3F467A #545DA2 #7981BA #A1A7CF #CACDE4

Accessibility & contrast

On white

3.71
#7981BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#7981BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7981BA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7981BA#FFFFFF#000000##000000
##7981BA1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F87BC
Deuteranopia (green-blind)
#6B82B9
Tritanopia (blue-blind)
#678C95
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7981ba;
/* rgb */ color: rgb(121, 129, 186);
/* oklch */ color: oklch(61.9% 0.087 277.4);
Tailwind
colors: {
  custom: {
    50: '#a1a5cf',
    500: '#7981ba',
    950: '#000000',
  },
}
SCSS
$custom: #7981ba;
$custom-light: #a1a5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7981ba",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 186
  },
  "hsl": {
    "h": 232.615,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61945,
    "c": 0.08663,
    "h": 277.4
  },
  "luminance": 0.23311
}

Semantic roles & 50–950 ramp

primary
#7981BA
secondary
#D4D1BB
accent
#9D3BAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #7981BA

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

Preview Lab → · Contrast checker → · Palette generator →

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