#7985DB#7985DB

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

Color values

HEX#7985DB
RGBrgb(121, 133, 219)
HSLhsl(233, 58%, 67%)
HSVhsv(233, 45%, 86%)
CMYKcmyk(44.7%, 39.3%, 0%, 14.1%)
CIE-LABlab(57.99, 17.89, -45.44)
CIE-LCHlch(57.99, 48.83, 291.49°)
OKLaboklab(64.46% 0.0138 -0.1282)
OKLCHoklch(64.46% 0.129 276.1)
XYZxyz(29.0550, 25.9530, 70.4826)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985DB #DBCF79
analogous
#79B6DB #7985DB #9E79DB
triadic
#7985DB #DB7985 #85DB79
tetradic
#7985DB #DB79B6 #DBCF79 #79DB9E
square
#7985DB #DB79B6 #DBCF79 #79DB9E
split-complementary
#7985DB #DB9E79 #B6DB79
monochromatic
#2E3DAC #4959CE #7985DB #A9B1E8 #D9DDF5

Accessibility & contrast

On white

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

On black

6.19
#7985DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985DB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985DB#FFFFFF#000000##000000
##7985DB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#658FDE
Deuteranopia (green-blind)
#5D88D9
Tritanopia (blue-blind)
#5797A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7985db;
/* rgb */ color: rgb(121, 133, 219);
/* oklch */ color: oklch(64.5% 0.129 276.1);
Tailwind
colors: {
  custom: {
    50: '#a4a8e6',
    500: '#7985db',
    950: '#000000',
  },
}
SCSS
$custom: #7985db;
$custom-light: #a4a8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7985db",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 219
  },
  "hsl": {
    "h": 232.653,
    "s": 57.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64455,
    "c": 0.12893,
    "h": 276.1
  },
  "luminance": 0.25954
}

Semantic roles & 50–950 ramp

primary
#7985DB
secondary
#E8E4C8
accent
#B120C5
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7985DB

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

Preview Lab → · Contrast checker → · Palette generator →

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