#7985DC#7985DC

#7985DC is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.5% C 0.130 H 276.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7985DC
RGBrgb(121, 133, 220)
HSLhsl(233, 59%, 67%)
HSVhsv(233, 45%, 86%)
CMYKcmyk(45%, 39.5%, 0%, 13.7%)
CIE-LABlab(58.04, 18.18, -45.92)
CIE-LCHlch(58.04, 49.39, 291.60°)
OKLaboklab(64.51% 0.014 -0.1296)
OKLCHoklch(64.51% 0.13 276.2)
XYZxyz(29.1870, 26.0058, 71.1780)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985DC #DCD079
analogous
#79B7DC #7985DC #9F79DC
triadic
#7985DC #DC7985 #85DC79
tetradic
#7985DC #DC79B7 #DCD079 #79DC9F
square
#7985DC #DC79B7 #DCD079 #79DC9F
split-complementary
#7985DC #DC9F79 #B7DC79
monochromatic
#2D3DAD #4859CF #7985DC #AAB1E9 #DADDF5

Accessibility & contrast

On white

3.39
#7985DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7985DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985DC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985DC#FFFFFF#000000##000000
##7985DC1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590DF
Deuteranopia (green-blind)
#5D88DA
Tritanopia (blue-blind)
#5697A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7985dc;
/* rgb */ color: rgb(121, 133, 220);
/* oklch */ color: oklch(64.5% 0.130 276.2);
Tailwind
colors: {
  custom: {
    50: '#a4a8e7',
    500: '#7985dc',
    950: '#000000',
  },
}
SCSS
$custom: #7985dc;
$custom-light: #a4a8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7985dc",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 220
  },
  "hsl": {
    "h": 232.727,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6451,
    "c": 0.13034,
    "h": 276.2
  },
  "luminance": 0.26007
}

Semantic roles & 50–950 ramp

primary
#7985DC
secondary
#E8E4C9
accent
#B21FC6
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7985DC

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

Preview Lab → · Contrast checker → · Palette generator →

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