#7982CF#7982CF

#7982CF is a light, moderate blue. Relative luminance 0.245; OKLCH L 63.2% C 0.116 H 277.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7982CF
RGBrgb(121, 130, 207)
HSLhsl(234, 47%, 64%)
HSVhsv(234, 42%, 81%)
CMYKcmyk(41.5%, 37.2%, 0%, 18.8%)
CIE-LABlab(56.62, 16.19, -40.86)
CIE-LCHlch(56.62, 43.95, 291.61°)
OKLaboklab(63.21% 0.0151 -0.1149)
OKLCHoklch(63.21% 0.116 277.5)
XYZxyz(27.1269, 24.5340, 62.3256)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982CF #CFC679
analogous
#79ADCF #7982CF #9B79CF
triadic
#7982CF #CF7982 #82CF79
tetradic
#7982CF #CF79AD #CFC679 #79CF9B
square
#7982CF #CF79AD #CFC679 #79CF9B
split-complementary
#7982CF #CF9B79 #ADCF79
monochromatic
#364097 #4C58BF #7982CF #A6ACDF #D3D6EF

Accessibility & contrast

On white

3.56
#7982CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#7982CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982CF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982CF#FFFFFF#000000##000000
##7982CF1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#6185CD
Tritanopia (blue-blind)
#5E919F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7982cf;
/* rgb */ color: rgb(121, 130, 207);
/* oklch */ color: oklch(63.2% 0.116 277.5);
Tailwind
colors: {
  custom: {
    50: '#a3a6de',
    500: '#7982cf',
    950: '#000000',
  },
}
SCSS
$custom: #7982cf;
$custom-light: #a3a6de;
$custom-dark: #000000;
JSON
{
  "hex": "#7982cf",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 207
  },
  "hsl": {
    "h": 233.721,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63208,
    "c": 0.11584,
    "h": 277.5
  },
  "luminance": 0.24535
}

Semantic roles & 50–950 ramp

primary
#7982CF
secondary
#E1DEC3
accent
#AB2BBB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7982CF

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

Preview Lab → · Contrast checker → · Palette generator →

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