#7981AC#7981AC

#7981AC is a mid, moderate blue. Relative luminance 0.227; OKLCH L 61.3% C 0.066 H 276.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7981AC
RGBrgb(121, 129, 172)
HSLhsl(231, 24%, 57%)
HSVhsv(231, 30%, 67%)
CMYKcmyk(29.7%, 25%, 0%, 32.5%)
CIE-LABlab(54.81, 7.19, -23.73)
CIE-LCHlch(54.81, 24.79, 286.85°)
OKLaboklab(61.3% 0.007 -0.0655)
OKLCHoklch(61.3% 0.066 276.1)
XYZxyz(23.1798, 22.7433, 42.1903)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7981AC #ACA479
analogous
#799BAC #7981AC #8A79AC
triadic
#7981AC #AC7981 #81AC79
tetradic
#7981AC #AC799B #ACA479 #79AC8A
square
#7981AC #AC799B #ACA479 #79AC8A
split-complementary
#7981AC #AC8A79 #9BAC79
monochromatic
#414869 #59618F #7981AC #9FA5C3 #C5C8DB

Accessibility & contrast

On white

3.78
#7981AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7981AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7981AC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7981AC#FFFFFF#000000##000000
##7981AC1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7485AE
Deuteranopia (green-blind)
#7181AB
Tritanopia (blue-blind)
#6C8990
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7981ac;
/* rgb */ color: rgb(121, 129, 172);
/* oklch */ color: oklch(61.3% 0.066 276.1);
Tailwind
colors: {
  custom: {
    50: '#a1a5c5',
    500: '#7981ac',
    950: '#000000',
  },
}
SCSS
$custom: #7981ac;
$custom-light: #a1a5c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7981ac",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 172
  },
  "hsl": {
    "h": 230.588,
    "s": 23.502,
    "l": 57.451
  },
  "oklch": {
    "l": 0.613,
    "c": 0.0659,
    "h": 276.1
  },
  "luminance": 0.22744
}

Semantic roles & 50–950 ramp

primary
#7981AC
secondary
#CBC7B6
accent
#B268C0
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F0F12
muted
#7E7F81

Preview Lab

Preview with #7981AC

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

Preview Lab → · Contrast checker → · Palette generator →

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