#7985FC#7985FC

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

Color values

HEX#7985FC
RGBrgb(121, 133, 252)
HSLhsl(235, 96%, 73%)
HSVhsv(235, 52%, 99%)
CMYKcmyk(52%, 47.2%, 0%, 1.2%)
CIE-LABlab(59.77, 27.79, -60.93)
CIE-LCHlch(59.77, 66.96, 294.52°)
OKLaboklab(66.38% 0.0189 -0.1736)
OKLCHoklch(66.38% 0.175 276.2)
XYZxyz(33.8378, 27.8661, 95.6722)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985FC #FCF079
analogous
#79C6FC #7985FC #AE79FC
triadic
#7985FC #FC7985 #85FC79
tetradic
#7985FC #FC79C6 #FCF079 #79FCAE
square
#7985FC #FC79C6 #FCF079 #79FCAE
split-complementary
#7985FC #FCAE79 #C6FC79
monochromatic
#051BF5 #3D4EFB #7985FC #B5BBFD #E1E4FE

Accessibility & contrast

On white

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

On black

6.57
#7985FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985FC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985FC#FFFFFF#000000##000000
##7985FC1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#3F8BF9
Tritanopia (blue-blind)
#3E9FB4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7985fc;
/* rgb */ color: rgb(121, 133, 252);
/* oklch */ color: oklch(66.4% 0.175 276.2);
Tailwind
colors: {
  custom: {
    50: '#a8a8fe',
    500: '#7985fc',
    950: '#000000',
  },
}
SCSS
$custom: #7985fc;
$custom-light: #a8a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7985fc",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 234.504,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66384,
    "c": 0.17459,
    "h": 276.2
  },
  "luminance": 0.27868
}

Semantic roles & 50–950 ramp

primary
#7985FC
secondary
#F7F3D4
accent
#D000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7985FC

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

Preview Lab → · Contrast checker → · Palette generator →

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