#7982CB#7982CB

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

Color values

HEX#7982CB
RGBrgb(121, 130, 203)
HSLhsl(233, 44%, 64%)
HSVhsv(233, 40%, 80%)
CMYKcmyk(40.4%, 36%, 0%, 20.4%)
CIE-LABlab(56.43, 15.05, -38.90)
CIE-LCHlch(56.43, 41.70, 291.15°)
OKLaboklab(63% 0.0142 -0.1092)
OKLCHoklch(63% 0.11 277.4)
XYZxyz(26.6441, 24.3408, 59.7827)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982CB #CBC279
analogous
#79ABCB #7982CB #9979CB
triadic
#7982CB #CB7982 #82CB79
tetradic
#7982CB #CB79AB #CBC279 #79CB99
square
#7982CB #CB79AB #CBC279 #79CB99
split-complementary
#7982CB #CB9979 #ABCB79
monochromatic
#384291 #4D59BA #7982CB #A5ABDC #D1D4ED

Accessibility & contrast

On white

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

On black

5.87
#7982CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982CB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982CB#FFFFFF#000000##000000
##7982CB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCE
Deuteranopia (green-blind)
#6484C9
Tritanopia (blue-blind)
#60909D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7982cb;
/* rgb */ color: rgb(121, 130, 203);
/* oklch */ color: oklch(63.0% 0.110 277.4);
Tailwind
colors: {
  custom: {
    50: '#a3a6db',
    500: '#7982cb',
    950: '#000000',
  },
}
SCSS
$custom: #7982cb;
$custom-light: #a3a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#7982cb",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 203
  },
  "hsl": {
    "h": 233.415,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62998,
    "c": 0.11007,
    "h": 277.4
  },
  "luminance": 0.24342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7982CB

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

Preview Lab → · Contrast checker → · Palette generator →

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