#7984BF#7984BF

#7984BF is a light, moderate blue. Relative luminance 0.243; OKLCH L 62.8% C 0.090 H 275.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7984BF
RGBrgb(121, 132, 191)
HSLhsl(231, 35%, 61%)
HSVhsv(231, 37%, 75%)
CMYKcmyk(36.6%, 30.9%, 0%, 25.1%)
CIE-LABlab(56.41, 10.51, -32.11)
CIE-LCHlch(56.41, 33.78, 288.12°)
OKLaboklab(62.81% 0.0085 -0.0895)
OKLCHoklch(62.81% 0.09 275.4)
XYZxyz(25.5377, 24.3281, 52.6303)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7984BF #BFB479
analogous
#79A7BF #7984BF #9179BF
triadic
#7984BF #BF7984 #84BF79
tetradic
#7984BF #BF79A7 #BFB479 #79BF91
square
#7984BF #BF79A7 #BFB479 #79BF91
split-complementary
#7984BF #BF9179 #A7BF79
monochromatic
#3D4880 #515FAA #7984BF #A2AAD3 #CCD0E7

Accessibility & contrast

On white

3.58
#7984BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7984BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7984BF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7984BF#FFFFFF#000000##000000
##7984BF1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#718AC1
Deuteranopia (green-blind)
#6C85BE
Tritanopia (blue-blind)
#658F99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7984bf;
/* rgb */ color: rgb(121, 132, 191);
/* oklch */ color: oklch(62.8% 0.090 275.4);
Tailwind
colors: {
  custom: {
    50: '#a2a7d2',
    500: '#7984bf',
    950: '#000000',
  },
}
SCSS
$custom: #7984bf;
$custom-light: #a2a7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7984bf",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 191
  },
  "hsl": {
    "h": 230.571,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62809,
    "c": 0.08993,
    "h": 275.4
  },
  "luminance": 0.24329
}

Semantic roles & 50–950 ramp

primary
#7984BF
secondary
#D7D3BD
accent
#9C37AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7984BF

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

Preview Lab → · Contrast checker → · Palette generator →

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