#7981A2#7981A2

#7981A2 is a mid, muted blue. Relative luminance 0.224; OKLCH L 60.9% C 0.051 H 274.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7981A2
RGBrgb(121, 129, 162)
HSLhsl(228, 18%, 55%)
HSVhsv(228, 25%, 64%)
CMYKcmyk(25.3%, 20.4%, 0%, 36.5%)
CIE-LABlab(54.42, 4.64, -18.55)
CIE-LCHlch(54.42, 19.12, 284.04°)
OKLaboklab(60.87% 0.0037 -0.0509)
OKLCHoklch(60.87% 0.051 274.2)
XYZxyz(22.2553, 22.3735, 37.3214)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7981A2 #A29A79
analogous
#7995A2 #7981A2 #8579A2
triadic
#7981A2 #A27981 #81A279
tetradic
#7981A2 #A27995 #A29A79 #79A285
square
#7981A2 #A27995 #A29A79 #79A285
split-complementary
#7981A2 #A28579 #95A279
monochromatic
#42475F #5B6383 #7981A2 #9DA3BB #C1C5D4

Accessibility & contrast

On white

3.84
#7981A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7981A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7981A2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7981A2#FFFFFF#000000##000000
##7981A21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A4
Deuteranopia (green-blind)
#7581A1
Tritanopia (blue-blind)
#6F878C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7981a2;
/* rgb */ color: rgb(121, 129, 162);
/* oklch */ color: oklch(60.9% 0.051 274.2);
Tailwind
colors: {
  custom: {
    50: '#a0a5bd',
    500: '#7981a2',
    950: '#000000',
  },
}
SCSS
$custom: #7981a2;
$custom-light: #a0a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7981a2",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 162
  },
  "hsl": {
    "h": 228.293,
    "s": 18.062,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60872,
    "c": 0.05102,
    "h": 274.2
  },
  "luminance": 0.22374
}

Semantic roles & 50–950 ramp

primary
#7981A2
secondary
#C4C1B3
accent
#AC6DBB
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0F0F12
muted
#7E7F81

Preview Lab

Preview with #7981A2

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

Preview Lab → · Contrast checker → · Palette generator →

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