#7985F2#7985F2

#7985F2 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.8% C 0.161 H 276.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7985F2
RGBrgb(121, 133, 242)
HSLhsl(234, 82%, 71%)
HSVhsv(234, 50%, 95%)
CMYKcmyk(50%, 45%, 0%, 5.1%)
CIE-LABlab(59.20, 24.74, -56.31)
CIE-LCHlch(59.20, 61.51, 293.72°)
OKLaboklab(65.77% 0.0177 -0.16)
OKLCHoklch(65.77% 0.161 276.3)
XYZxyz(32.2947, 27.2489, 87.5450)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985F2 #F2E679
analogous
#79C1F2 #7985F2 #A979F2
triadic
#7985F2 #F27985 #85F279
tetradic
#7985F2 #F279C1 #F2E679 #79F2A9
square
#7985F2 #F279C1 #F2E679 #79F2A9
split-complementary
#7985F2 #F2A979 #C1F279
monochromatic
#1529DB #4152ED #7985F2 #B1B8F7 #E3E6FC

Accessibility & contrast

On white

3.26
#7985F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#7985F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985F2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985F2#FFFFFF#000000##000000
##7985F21.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F6
Deuteranopia (green-blind)
#4B8AF0
Tritanopia (blue-blind)
#479CB0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7985f2;
/* rgb */ color: rgb(121, 133, 242);
/* oklch */ color: oklch(65.8% 0.161 276.3);
Tailwind
colors: {
  custom: {
    50: '#a7a8f7',
    500: '#7985f2',
    950: '#000000',
  },
}
SCSS
$custom: #7985f2;
$custom-light: #a7a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7985f2",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 234.05,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65774,
    "c": 0.16099,
    "h": 276.3
  },
  "luminance": 0.27251
}

Semantic roles & 50–950 ramp

primary
#7985F2
secondary
#F3F0D3
accent
#C907DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7985F2

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

Preview Lab → · Contrast checker → · Palette generator →

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