#7984B2#7984B2

#7984B2 is a light, moderate blue. Relative luminance 0.238; OKLCH L 62.2% C 0.071 H 273.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7984B2
RGBrgb(121, 132, 178)
HSLhsl(228, 27%, 59%)
HSVhsv(228, 32%, 70%)
CMYKcmyk(32%, 25.8%, 0%, 30.2%)
CIE-LABlab(55.87, 7.00, -25.54)
CIE-LCHlch(55.87, 26.48, 285.33°)
OKLaboklab(62.21% 0.0047 -0.0707)
OKLCHoklch(62.21% 0.071 273.8)
XYZxyz(24.1700, 23.7810, 45.4276)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7984B2 #B2A779
analogous
#79A0B2 #7984B2 #8A79B2
triadic
#7984B2 #B27984 #84B279
tetradic
#7984B2 #B279A0 #B2A779 #79B28A
square
#7984B2 #B279A0 #B2A779 #79B28A
split-complementary
#7984B2 #B28A79 #A0B279
monochromatic
#404A70 #576397 #7984B2 #A0A8C8 #C7CBDF

Accessibility & contrast

On white

3.65
#7984B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7984B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7984B2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7984B2#FFFFFF#000000##000000
##7984B21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7688B4
Deuteranopia (green-blind)
#7284B1
Tritanopia (blue-blind)
#6A8D94
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7984b2;
/* rgb */ color: rgb(121, 132, 178);
/* oklch */ color: oklch(62.2% 0.071 273.8);
Tailwind
colors: {
  custom: {
    50: '#a1a7c9',
    500: '#7984b2',
    950: '#000000',
  },
}
SCSS
$custom: #7984b2;
$custom-light: #a1a7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7984b2",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 178
  },
  "hsl": {
    "h": 228.421,
    "s": 27.014,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62205,
    "c": 0.07084,
    "h": 273.8
  },
  "luminance": 0.23782
}

Semantic roles & 50–950 ramp

primary
#7984B2
secondary
#CFCAB8
accent
#B164C3
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #7984B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7984B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva