#7985DF#7985DF

#7985DF is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.7% C 0.135 H 276.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7985DF
RGBrgb(121, 133, 223)
HSLhsl(233, 61%, 67%)
HSVhsv(233, 46%, 87%)
CMYKcmyk(45.7%, 40.4%, 0%, 12.5%)
CIE-LABlab(58.19, 19.06, -47.36)
CIE-LCHlch(58.19, 51.05, 291.93°)
OKLaboklab(64.68% 0.0146 -0.1338)
OKLCHoklch(64.68% 0.135 276.2)
XYZxyz(29.5879, 26.1661, 73.2893)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985DF #DFD379
analogous
#79B8DF #7985DF #A079DF
triadic
#7985DF #DF7985 #85DF79
tetradic
#7985DF #DF79B8 #DFD379 #79DFA0
square
#7985DF #DF79B8 #DFD379 #79DFA0
split-complementary
#7985DF #DFA079 #B8DF79
monochromatic
#2B3BB3 #4858D3 #7985DF #AAB2EB #DCDFF7

Accessibility & contrast

On white

3.37
#7985DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7985DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985DF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985DF#FFFFFF#000000##000000
##7985DF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6390E2
Deuteranopia (green-blind)
#5B88DD
Tritanopia (blue-blind)
#5598A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7985df;
/* rgb */ color: rgb(121, 133, 223);
/* oklch */ color: oklch(64.7% 0.135 276.2);
Tailwind
colors: {
  custom: {
    50: '#a5a8e9',
    500: '#7985df',
    950: '#000000',
  },
}
SCSS
$custom: #7985df;
$custom-light: #a5a8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7985df",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 223
  },
  "hsl": {
    "h": 232.941,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64676,
    "c": 0.13458,
    "h": 276.2
  },
  "luminance": 0.26168
}

Semantic roles & 50–950 ramp

primary
#7985DF
secondary
#EAE6CA
accent
#B51CC9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7985DF

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

Preview Lab → · Contrast checker → · Palette generator →

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