#7984CF#7984CF

#7984CF is a light, moderate blue. Relative luminance 0.251; OKLCH L 63.6% C 0.113 H 276.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7984CF
RGBrgb(121, 132, 207)
HSLhsl(232, 47%, 64%)
HSVhsv(232, 42%, 81%)
CMYKcmyk(41.5%, 36.2%, 0%, 18.8%)
CIE-LABlab(57.14, 15.00, -40.03)
CIE-LCHlch(57.14, 42.75, 290.55°)
OKLaboklab(63.61% 0.0125 -0.1124)
OKLCHoklch(63.61% 0.113 276.3)
XYZxyz(27.3955, 25.0712, 62.4151)
Luminance0.2507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7984CF #CFC479
analogous
#79AFCF #7984CF #9979CF
triadic
#7984CF #CF7984 #84CF79
tetradic
#7984CF #CF79AF #CFC479 #79CF99
square
#7984CF #CF79AF #CFC479 #79CF99
split-complementary
#7984CF #CF9979 #AFCF79
monochromatic
#364397 #4C5BBF #7984CF #A6ADDF #D3D7EF

Accessibility & contrast

On white

3.49
#7984CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#7984CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7984CF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7984CF#FFFFFF#000000##000000
##7984CF1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8DD2
Deuteranopia (green-blind)
#6486CD
Tritanopia (blue-blind)
#5E93A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7984cf;
/* rgb */ color: rgb(121, 132, 207);
/* oklch */ color: oklch(63.6% 0.113 276.3);
Tailwind
colors: {
  custom: {
    50: '#a3a7de',
    500: '#7984cf',
    950: '#000000',
  },
}
SCSS
$custom: #7984cf;
$custom-light: #a3a7de;
$custom-dark: #000000;
JSON
{
  "hex": "#7984cf",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 207
  },
  "hsl": {
    "h": 232.326,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63613,
    "c": 0.11314,
    "h": 276.3
  },
  "luminance": 0.25072
}

Semantic roles & 50–950 ramp

primary
#7984CF
secondary
#E1DDC3
accent
#A82BBB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7984CF

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

Preview Lab → · Contrast checker → · Palette generator →

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