#7981BB#7981BB

#7981BB is a mid, moderate blue. Relative luminance 0.234; OKLCH L 62.0% C 0.088 H 277.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7981BB
RGBrgb(121, 129, 187)
HSLhsl(233, 33%, 60%)
HSVhsv(233, 35%, 73%)
CMYKcmyk(35.3%, 31%, 0%, 26.7%)
CIE-LABlab(55.43, 11.18, -31.35)
CIE-LCHlch(55.43, 33.29, 289.63°)
OKLaboklab(61.99% 0.0115 -0.0874)
OKLCHoklch(61.99% 0.088 277.5)
XYZxyz(24.7025, 23.3524, 50.2100)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7981BB #BBB379
analogous
#79A2BB #7981BB #9279BB
triadic
#7981BB #BB7981 #81BB79
tetradic
#7981BB #BB79A2 #BBB379 #79BB92
square
#7981BB #BB79A2 #BBB379 #79BB92
split-complementary
#7981BB #BB9279 #A2BB79
monochromatic
#3E467B #535DA4 #7981BB #A2A7D0 #CACDE4

Accessibility & contrast

On white

3.70
#7981BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#7981BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7981BB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7981BB#FFFFFF#000000##000000
##7981BB1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F87BD
Deuteranopia (green-blind)
#6B82BA
Tritanopia (blue-blind)
#678C96
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7981bb;
/* rgb */ color: rgb(121, 129, 187);
/* oklch */ color: oklch(62.0% 0.088 277.5);
Tailwind
colors: {
  custom: {
    50: '#a2a5cf',
    500: '#7981bb',
    950: '#000000',
  },
}
SCSS
$custom: #7981bb;
$custom-light: #a2a5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7981bb",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 232.727,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61993,
    "c": 0.08811,
    "h": 277.5
  },
  "luminance": 0.23353
}

Semantic roles & 50–950 ramp

primary
#7981BB
secondary
#D5D1BB
accent
#9E3AAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7981BB

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

Preview Lab → · Contrast checker → · Palette generator →

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