#7986CA#7986CA

#7986CA is a light, moderate blue. Relative luminance 0.254; OKLCH L 63.8% C 0.103 H 274.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7986CA
RGBrgb(121, 134, 202)
HSLhsl(230, 43%, 63%)
HSVhsv(230, 40%, 79%)
CMYKcmyk(40.1%, 33.7%, 0%, 20.8%)
CIE-LABlab(57.44, 12.40, -36.74)
CIE-LCHlch(57.44, 38.77, 288.65°)
OKLaboklab(63.77% 0.0087 -0.1029)
OKLCHoklch(63.77% 0.103 274.8)
XYZxyz(27.0677, 25.3782, 59.3379)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986CA #CABD79
analogous
#79AECA #7986CA #9479CA
triadic
#7986CA #CA7986 #86CA79
tetradic
#7986CA #CA79AE #CABD79 #79CA94
square
#7986CA #CA79AE #CABD79 #79CA94
split-complementary
#7986CA #CA9479 #AECA79
monochromatic
#394790 #4D5EB9 #7986CA #A5AEDB #D1D5ED

Accessibility & contrast

On white

3.46
#7986CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7986CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986CA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986CA#FFFFFF#000000##000000
##7986CA1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8DCD
Deuteranopia (green-blind)
#6987C8
Tritanopia (blue-blind)
#60949F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7986ca;
/* rgb */ color: rgb(121, 134, 202);
/* oklch */ color: oklch(63.8% 0.103 274.8);
Tailwind
colors: {
  custom: {
    50: '#a3a9da',
    500: '#7986ca',
    950: '#000000',
  },
}
SCSS
$custom: #7986ca;
$custom-light: #a3a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#7986ca",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 230.37,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63765,
    "c": 0.10327,
    "h": 274.8
  },
  "luminance": 0.25379
}

Semantic roles & 50–950 ramp

primary
#7986CA
secondary
#DED9C1
accent
#A12FB6
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7986CA

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

Preview Lab → · Contrast checker → · Palette generator →

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