#7982CC#7982CC

#7982CC is a light, moderate blue. Relative luminance 0.244; OKLCH L 63.0% C 0.112 H 277.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7982CC
RGBrgb(121, 130, 204)
HSLhsl(233, 45%, 64%)
HSVhsv(233, 41%, 80%)
CMYKcmyk(40.7%, 36.3%, 0%, 20%)
CIE-LABlab(56.47, 15.33, -39.39)
CIE-LCHlch(56.47, 42.26, 291.27°)
OKLaboklab(63.05% 0.0144 -0.1106)
OKLCHoklch(63.05% 0.112 277.4)
XYZxyz(26.7636, 24.3887, 60.4123)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982CC #CCC379
analogous
#79ABCC #7982CC #9979CC
triadic
#7982CC #CC7982 #82CC79
tetradic
#7982CC #CC79AB #CCC379 #79CC99
square
#7982CC #CC79AB #CCC379 #79CC99
split-complementary
#7982CC #CC9979 #ABCC79
monochromatic
#384293 #4D59BB #7982CC #A5ABDD #D2D5EE

Accessibility & contrast

On white

3.57
#7982CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7982CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982CC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982CC#FFFFFF#000000##000000
##7982CC1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#6384CA
Tritanopia (blue-blind)
#5F919D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7982cc;
/* rgb */ color: rgb(121, 130, 204);
/* oklch */ color: oklch(63.0% 0.112 277.4);
Tailwind
colors: {
  custom: {
    50: '#a3a6dc',
    500: '#7982cc',
    950: '#000000',
  },
}
SCSS
$custom: #7982cc;
$custom-light: #a3a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7982cc",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 204
  },
  "hsl": {
    "h": 233.494,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6305,
    "c": 0.11152,
    "h": 277.4
  },
  "luminance": 0.2439
}

Semantic roles & 50–950 ramp

primary
#7982CC
secondary
#DFDCC2
accent
#A92DB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7982CC

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

Preview Lab → · Contrast checker → · Palette generator →

#7982CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva