#7982EB#7982EB

#7982EB is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.8% C 0.155 H 277.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7982EB
RGBrgb(121, 130, 235)
HSLhsl(235, 74%, 70%)
HSVhsv(235, 49%, 92%)
CMYKcmyk(48.5%, 44.7%, 0%, 7.8%)
CIE-LABlab(58.06, 24.42, -54.25)
CIE-LCHlch(58.06, 59.49, 294.23°)
OKLaboklab(64.78% 0.0201 -0.154)
OKLCHoklch(64.78% 0.155 277.4)
XYZxyz(30.8585, 26.0266, 81.9788)
Luminance0.2603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982EB #EBE279
analogous
#79BBEB #7982EB #A979EB
triadic
#7982EB #EB7982 #82EB79
tetradic
#7982EB #EB79BB #EBE279 #79EBA9
square
#7982EB #EB79BB #EBE279 #79EBA9
split-complementary
#7982EB #EBA979 #BBEB79
monochromatic
#1E2CCB #4450E3 #7982EB #AEB4F3 #E4E5FB

Accessibility & contrast

On white

3.38
#7982EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7982EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982EB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982EB#FFFFFF#000000##000000
##7982EB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#4C87E9
Tritanopia (blue-blind)
#4D98AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7982eb;
/* rgb */ color: rgb(121, 130, 235);
/* oklch */ color: oklch(64.8% 0.155 277.4);
Tailwind
colors: {
  custom: {
    50: '#a6a6f2',
    500: '#7982eb',
    950: '#000000',
  },
}
SCSS
$custom: #7982eb;
$custom-light: #a6a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7982eb",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 235.263,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64782,
    "c": 0.15531,
    "h": 277.4
  },
  "luminance": 0.26028
}

Semantic roles & 50–950 ramp

primary
#7982EB
secondary
#F0EDD0
accent
#C60FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7982EB

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

Preview Lab → · Contrast checker → · Palette generator →

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