#7985CC#7985CC

#7985CC is a light, moderate blue. Relative luminance 0.252; OKLCH L 63.7% C 0.107 H 275.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7985CC
RGBrgb(121, 133, 204)
HSLhsl(231, 45%, 64%)
HSVhsv(231, 41%, 80%)
CMYKcmyk(40.7%, 34.8%, 0%, 20%)
CIE-LABlab(57.27, 13.55, -38.14)
CIE-LCHlch(57.27, 40.48, 289.56°)
OKLaboklab(63.66% 0.0105 -0.107)
OKLCHoklch(63.66% 0.107 275.6)
XYZxyz(27.1685, 25.1984, 60.5473)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985CC #CCC079
analogous
#79AECC #7985CC #9679CC
triadic
#7985CC #CC7985 #85CC79
tetradic
#7985CC #CC79AE #CCC079 #79CC96
square
#7985CC #CC79AE #CCC079 #79CC96
split-complementary
#7985CC #CC9679 #AECC79
monochromatic
#384593 #4D5DBB #7985CC #A5ADDD #D2D6EE

Accessibility & contrast

On white

3.48
#7985CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#7985CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985CC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985CC#FFFFFF#000000##000000
##7985CC1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCF
Deuteranopia (green-blind)
#6786CA
Tritanopia (blue-blind)
#5F939F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7985cc;
/* rgb */ color: rgb(121, 133, 204);
/* oklch */ color: oklch(63.7% 0.107 275.6);
Tailwind
colors: {
  custom: {
    50: '#a3a8dc',
    500: '#7985cc',
    950: '#000000',
  },
}
SCSS
$custom: #7985cc;
$custom-light: #a3a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7985cc",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 204
  },
  "hsl": {
    "h": 231.325,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63661,
    "c": 0.10749,
    "h": 275.6
  },
  "luminance": 0.252
}

Semantic roles & 50–950 ramp

primary
#7985CC
secondary
#DFDBC2
accent
#A42DB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7985CC

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

Preview Lab → · Contrast checker → · Palette generator →

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