#7982CA#7982CA

#7982CA is a light, moderate blue. Relative luminance 0.243; OKLCH L 62.9% C 0.109 H 277.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7982CA
RGBrgb(121, 130, 202)
HSLhsl(233, 43%, 63%)
HSVhsv(233, 40%, 79%)
CMYKcmyk(40.1%, 35.6%, 0%, 20.8%)
CIE-LABlab(56.38, 14.76, -38.40)
CIE-LCHlch(56.38, 41.14, 291.03°)
OKLaboklab(62.95% 0.0139 -0.1077)
OKLCHoklch(62.95% 0.109 277.4)
XYZxyz(26.5253, 24.2933, 59.1571)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982CA #CAC179
analogous
#79AACA #7982CA #9879CA
triadic
#7982CA #CA7982 #82CA79
tetradic
#7982CA #CA79AA #CAC179 #79CA98
square
#7982CA #CA79AA #CAC179 #79CA98
split-complementary
#7982CA #CA9879 #AACA79
monochromatic
#394390 #4D59B9 #7982CA #A5ABDB #D1D4ED

Accessibility & contrast

On white

3.58
#7982CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7982CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982CA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982CA#FFFFFF#000000##000000
##7982CA1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACD
Deuteranopia (green-blind)
#6484C8
Tritanopia (blue-blind)
#60909C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7982ca;
/* rgb */ color: rgb(121, 130, 202);
/* oklch */ color: oklch(62.9% 0.109 277.4);
Tailwind
colors: {
  custom: {
    50: '#a3a6da',
    500: '#7982ca',
    950: '#000000',
  },
}
SCSS
$custom: #7982ca;
$custom-light: #a3a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#7982ca",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 233.333,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62947,
    "c": 0.10863,
    "h": 277.4
  },
  "luminance": 0.24294
}

Semantic roles & 50–950 ramp

primary
#7982CA
secondary
#DEDBC1
accent
#A72FB6
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7982CA

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

Preview Lab → · Contrast checker → · Palette generator →

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