#7985EC#7985EC

#7985EC is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.4% C 0.153 H 276.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7985EC
RGBrgb(121, 133, 236)
HSLhsl(234, 75%, 70%)
HSVhsv(234, 49%, 93%)
CMYKcmyk(48.7%, 43.6%, 0%, 7.5%)
CIE-LABlab(58.88, 22.94, -53.51)
CIE-LCHlch(58.88, 58.22, 293.20°)
OKLaboklab(65.42% 0.0168 -0.1518)
OKLCHoklch(65.42% 0.153 276.3)
XYZxyz(31.4083, 26.8943, 82.8767)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985EC #ECE079
analogous
#79BFEC #7985EC #A679EC
triadic
#7985EC #EC7985 #85EC79
tetradic
#7985EC #EC79BF #ECE079 #79ECA6
square
#7985EC #EC79BF #ECE079 #79ECA6
split-complementary
#7985EC #ECA679 #BFEC79
monochromatic
#1D30CD #4354E4 #7985EC #AFB6F4 #E4E7FB

Accessibility & contrast

On white

3.29
#7985EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#7985EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985EC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985EC#FFFFFF#000000##000000
##7985EC1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92F0
Deuteranopia (green-blind)
#5089EA
Tritanopia (blue-blind)
#4C9BAD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7985ec;
/* rgb */ color: rgb(121, 133, 236);
/* oklch */ color: oklch(65.4% 0.153 276.3);
Tailwind
colors: {
  custom: {
    50: '#a6a8f3',
    500: '#7985ec',
    950: '#000000',
  },
}
SCSS
$custom: #7985ec;
$custom-light: #a6a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7985ec",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 233.739,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.65419,
    "c": 0.15273,
    "h": 276.3
  },
  "luminance": 0.26896
}

Semantic roles & 50–950 ramp

primary
#7985EC
secondary
#F0EDD0
accent
#C20ED7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7985EC

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

Preview Lab → · Contrast checker → · Palette generator →

#7985EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva