#7985EE#7985EE

#7985EE is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.5% C 0.155 H 276.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7985EE
RGBrgb(121, 133, 238)
HSLhsl(234, 77%, 70%)
HSVhsv(234, 49%, 93%)
CMYKcmyk(49.2%, 44.1%, 0%, 6.7%)
CIE-LABlab(58.98, 23.54, -54.45)
CIE-LCHlch(58.98, 59.32, 293.38°)
OKLaboklab(65.54% 0.0171 -0.1545)
OKLCHoklch(65.54% 0.155 276.3)
XYZxyz(31.7005, 27.0112, 84.4156)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985EE #EEE279
analogous
#79BFEE #7985EE #A779EE
triadic
#7985EE #EE7985 #85EE79
tetradic
#7985EE #EE79BF #EEE279 #79EEA7
square
#7985EE #EE79BF #EEE279 #79EEA7
split-complementary
#7985EE #EEA779 #BFEE79
monochromatic
#1B2DD2 #4354E7 #7985EE #AFB6F5 #E4E6FC

Accessibility & contrast

On white

3.28
#7985EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#7985EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985EE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985EE#FFFFFF#000000##000000
##7985EE1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F2
Deuteranopia (green-blind)
#4F89EC
Tritanopia (blue-blind)
#4A9BAE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7985ee;
/* rgb */ color: rgb(121, 133, 238);
/* oklch */ color: oklch(65.5% 0.155 276.3);
Tailwind
colors: {
  custom: {
    50: '#a6a8f4',
    500: '#7985ee',
    950: '#000000',
  },
}
SCSS
$custom: #7985ee;
$custom-light: #a6a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7985ee",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 238
  },
  "hsl": {
    "h": 233.846,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65536,
    "c": 0.15549,
    "h": 276.3
  },
  "luminance": 0.27013
}

Semantic roles & 50–950 ramp

primary
#7985EE
secondary
#F1EED1
accent
#C50CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7985EE

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

Preview Lab → · Contrast checker → · Palette generator →

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