#7985FD#7985FD

#7985FD is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.4% C 0.176 H 276.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7985FD
RGBrgb(121, 133, 253)
HSLhsl(235, 97%, 73%)
HSVhsv(235, 52%, 99%)
CMYKcmyk(52.2%, 47.4%, 0%, 0.8%)
CIE-LABlab(59.83, 28.09, -61.38)
CIE-LCHlch(59.83, 67.51, 294.59°)
OKLaboklab(66.45% 0.019 -0.1749)
OKLCHoklch(66.45% 0.176 276.2)
XYZxyz(33.9967, 27.9297, 96.5090)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985FD #FDF179
analogous
#79C7FD #7985FD #AF79FD
triadic
#7985FD #FD7985 #85FD79
tetradic
#7985FD #FD79C7 #FDF179 #79FDAF
square
#7985FD #FD79C7 #FDF179 #79FDAF
split-complementary
#7985FD #FDAF79 #C7FD79
monochromatic
#041AF8 #3D4EFC #7985FD #B5BCFE #E1E4FF

Accessibility & contrast

On white

3.19
#7985FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7985FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985FD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985FD#FFFFFF#000000##000000
##7985FD1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#3E8BFA
Tritanopia (blue-blind)
#3D9FB5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7985fd;
/* rgb */ color: rgb(121, 133, 253);
/* oklch */ color: oklch(66.4% 0.176 276.2);
Tailwind
colors: {
  custom: {
    50: '#a8a8ff',
    500: '#7985fd',
    950: '#000000',
  },
}
SCSS
$custom: #7985fd;
$custom-light: #a8a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7985fd",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 253
  },
  "hsl": {
    "h": 234.545,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66446,
    "c": 0.17594,
    "h": 276.2
  },
  "luminance": 0.27932
}

Semantic roles & 50–950 ramp

primary
#7985FD
secondary
#F7F4D4
accent
#D100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7985FD

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

Preview Lab → · Contrast checker → · Palette generator →

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