#7985EA#7985EA

#7985EA is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.3% C 0.150 H 276.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7985EA
RGBrgb(121, 133, 234)
HSLhsl(234, 73%, 70%)
HSVhsv(234, 48%, 92%)
CMYKcmyk(48.3%, 43.2%, 0%, 8.2%)
CIE-LABlab(58.77, 22.33, -52.57)
CIE-LCHlch(58.77, 57.12, 293.02°)
OKLaboklab(65.3% 0.0165 -0.149)
OKLCHoklch(65.3% 0.15 276.3)
XYZxyz(31.1193, 26.7787, 81.3550)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985EA #EADE79
analogous
#79BEEA #7985EA #A579EA
triadic
#7985EA #EA7985 #85EA79
tetradic
#7985EA #EA79BE #EADE79 #79EAA5
square
#7985EA #EA79BE #EADE79 #79EAA5
split-complementary
#7985EA #EAA579 #BEEA79
monochromatic
#2032C9 #4455E2 #7985EA #AEB5F2 #E3E5FB

Accessibility & contrast

On white

3.30
#7985EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#7985EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985EA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985EA#FFFFFF#000000##000000
##7985EA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#4D9AAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7985ea;
/* rgb */ color: rgb(121, 133, 234);
/* oklch */ color: oklch(65.3% 0.150 276.3);
Tailwind
colors: {
  custom: {
    50: '#a6a8f1',
    500: '#7985ea',
    950: '#000000',
  },
}
SCSS
$custom: #7985ea;
$custom-light: #a6a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7985ea",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 233.628,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65302,
    "c": 0.14996,
    "h": 276.3
  },
  "luminance": 0.26781
}

Semantic roles & 50–950 ramp

primary
#7985EA
secondary
#F0ECCF
accent
#C011D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7985EA

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

Preview Lab → · Contrast checker → · Palette generator →

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