#7986CB#7986CB

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

Color values

HEX#7986CB
RGBrgb(121, 134, 203)
HSLhsl(230, 44%, 64%)
HSVhsv(230, 40%, 80%)
CMYKcmyk(40.4%, 34%, 0%, 20.4%)
CIE-LABlab(57.49, 12.68, -37.23)
CIE-LCHlch(57.49, 39.33, 288.81°)
OKLaboklab(63.82% 0.009 -0.1043)
OKLCHoklch(63.82% 0.105 274.9)
XYZxyz(27.1865, 25.4257, 59.9635)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986CB #CBBE79
analogous
#79AFCB #7986CB #9579CB
triadic
#7986CB #CB7986 #86CB79
tetradic
#7986CB #CB79AF #CBBE79 #79CB95
square
#7986CB #CB79AF #CBBE79 #79CB95
split-complementary
#7986CB #CB9579 #AFCB79
monochromatic
#384691 #4D5EBA #7986CB #A5AEDC #D1D6ED

Accessibility & contrast

On white

3.45
#7986CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#7986CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986CB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986CB#FFFFFF#000000##000000
##7986CB1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECE
Deuteranopia (green-blind)
#6887C9
Tritanopia (blue-blind)
#5F949F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7986cb;
/* rgb */ color: rgb(121, 134, 203);
/* oklch */ color: oklch(63.8% 0.105 274.9);
Tailwind
colors: {
  custom: {
    50: '#a3a9db',
    500: '#7986cb',
    950: '#000000',
  },
}
SCSS
$custom: #7986cb;
$custom-light: #a3a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#7986cb",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 230.488,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63816,
    "c": 0.10471,
    "h": 274.9
  },
  "luminance": 0.25427
}

Semantic roles & 50–950 ramp

primary
#7986CB
secondary
#DEDAC1
accent
#A22EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7986CB

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

Preview Lab → · Contrast checker → · Palette generator →

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