#7985CD#7985CD

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

Color values

HEX#7985CD
RGBrgb(121, 133, 205)
HSLhsl(231, 46%, 64%)
HSVhsv(231, 41%, 80%)
CMYKcmyk(41%, 35.1%, 0%, 19.6%)
CIE-LABlab(57.31, 13.84, -38.63)
CIE-LCHlch(57.31, 41.04, 289.71°)
OKLaboklab(63.71% 0.0107 -0.1084)
OKLCHoklch(63.71% 0.109 275.7)
XYZxyz(27.2888, 25.2465, 61.1810)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985CD #CDC179
analogous
#79AFCD #7985CD #9779CD
triadic
#7985CD #CD7985 #85CD79
tetradic
#7985CD #CD79AF #CDC179 #79CD97
square
#7985CD #CD79AF #CDC179 #79CD97
split-complementary
#7985CD #CD9779 #AFCD79
monochromatic
#374594 #4C5CBC #7985CD #A6AEDE #D2D6EE

Accessibility & contrast

On white

3.47
#7985CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#7985CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985CD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985CD#FFFFFF#000000##000000
##7985CD1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#6686CB
Tritanopia (blue-blind)
#5E939F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7985cd;
/* rgb */ color: rgb(121, 133, 205);
/* oklch */ color: oklch(63.7% 0.109 275.7);
Tailwind
colors: {
  custom: {
    50: '#a3a8dc',
    500: '#7985cd',
    950: '#000000',
  },
}
SCSS
$custom: #7985cd;
$custom-light: #a3a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7985cd",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 205
  },
  "hsl": {
    "h": 231.429,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63713,
    "c": 0.10892,
    "h": 275.7
  },
  "luminance": 0.25248
}

Semantic roles & 50–950 ramp

primary
#7985CD
secondary
#E0DBC2
accent
#A52DB9
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7985CD

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

Preview Lab → · Contrast checker → · Palette generator →

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