#7985EF#7985EF

#7985EF is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.6% C 0.157 H 276.3°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7985EF
RGBrgb(121, 133, 239)
HSLhsl(234, 79%, 71%)
HSVhsv(234, 49%, 94%)
CMYKcmyk(49.4%, 44.4%, 0%, 6.3%)
CIE-LABlab(59.04, 23.84, -54.92)
CIE-LCHlch(59.04, 59.87, 293.47°)
OKLaboklab(65.6% 0.0172 -0.1559)
OKLCHoklch(65.6% 0.157 276.3)
XYZxyz(31.8478, 27.0701, 85.1915)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985EF #EFE379
analogous
#79C0EF #7985EF #A879EF
triadic
#7985EF #EF7985 #85EF79
tetradic
#7985EF #EF79C0 #EFE379 #79EFA8
square
#7985EF #EF79C0 #EFE379 #79EFA8
split-complementary
#7985EF #EFA879 #C0EF79
monochromatic
#192CD4 #4253E8 #7985EF #B0B7F6 #E4E6FC

Accessibility & contrast

On white

3.27
#7985EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#7985EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985EF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985EF#FFFFFF#000000##000000
##7985EF1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#4E8AED
Tritanopia (blue-blind)
#4A9CAE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7985ef;
/* rgb */ color: rgb(121, 133, 239);
/* oklch */ color: oklch(65.6% 0.157 276.3);
Tailwind
colors: {
  custom: {
    50: '#a6a8f5',
    500: '#7985ef',
    950: '#000000',
  },
}
SCSS
$custom: #7985ef;
$custom-light: #a6a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7985ef",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 233.898,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65595,
    "c": 0.15687,
    "h": 276.3
  },
  "luminance": 0.27072
}

Semantic roles & 50–950 ramp

primary
#7985EF
secondary
#F2EFD2
accent
#C60BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7985EF

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

Preview Lab → · Contrast checker → · Palette generator →

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