#7985F9#7985F9

#7985F9 is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.2% C 0.171 H 276.2°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7985F9
RGBrgb(121, 133, 249)
HSLhsl(234, 91%, 73%)
HSVhsv(234, 51%, 98%)
CMYKcmyk(51.4%, 46.6%, 0%, 2.4%)
CIE-LABlab(59.60, 26.87, -59.55)
CIE-LCHlch(59.60, 65.33, 294.29°)
OKLaboklab(66.2% 0.0186 -0.1695)
OKLCHoklch(66.2% 0.171 276.2)
XYZxyz(33.3662, 27.6775, 93.1883)
Luminance0.2768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985F9 #F9ED79
analogous
#79C5F9 #7985F9 #AD79F9
triadic
#7985F9 #F97985 #85F979
tetradic
#7985F9 #F979C5 #F9ED79 #79F9AD
square
#7985F9 #F979C5 #F9ED79 #79F9AD
split-complementary
#7985F9 #F9AD79 #C5F979
monochromatic
#0B20ED #3E50F6 #7985F9 #B4BAFC #E2E4FE

Accessibility & contrast

On white

3.21
#7985F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#7985F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985F9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985F9#FFFFFF#000000##000000
##7985F91.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FD
Deuteranopia (green-blind)
#438BF6
Tritanopia (blue-blind)
#419EB3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7985f9;
/* rgb */ color: rgb(121, 133, 249);
/* oklch */ color: oklch(66.2% 0.171 276.2);
Tailwind
colors: {
  custom: {
    50: '#a7a8fc',
    500: '#7985f9',
    950: '#000000',
  },
}
SCSS
$custom: #7985f9;
$custom-light: #a7a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7985f9",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 249
  },
  "hsl": {
    "h": 234.375,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66199,
    "c": 0.17053,
    "h": 276.2
  },
  "luminance": 0.2768
}

Semantic roles & 50–950 ramp

primary
#7985F9
secondary
#F6F3D5
accent
#D000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7985F9

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

Preview Lab → · Contrast checker → · Palette generator →

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