#7985AC#7985AC

#7985AC is a light, moderate blue. Relative luminance 0.238; OKLCH L 62.2% C 0.061 H 271.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7985AC
RGBrgb(121, 133, 172)
HSLhsl(226, 24%, 57%)
HSVhsv(226, 30%, 67%)
CMYKcmyk(29.7%, 22.7%, 0%, 32.5%)
CIE-LABlab(55.90, 4.85, -22.04)
CIE-LCHlch(55.90, 22.57, 282.40°)
OKLaboklab(62.16% 0.0014 -0.0608)
OKLCHoklch(62.16% 0.061 271.3)
XYZxyz(23.7170, 23.8178, 42.3694)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985AC #ACA079
analogous
#799FAC #7985AC #8679AC
triadic
#7985AC #AC7985 #85AC79
tetradic
#7985AC #AC799F #ACA079 #79AC86
square
#7985AC #AC799F #ACA079 #79AC86
split-complementary
#7985AC #AC8679 #9FAC79
monochromatic
#414B69 #59658F #7985AC #9FA7C3 #C5CADB

Accessibility & contrast

On white

3.64
#7985AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7985AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985AC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985AC#FFFFFF#000000##000000
##7985AC1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7988AE
Deuteranopia (green-blind)
#7584AB
Tritanopia (blue-blind)
#6B8C92
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7985ac;
/* rgb */ color: rgb(121, 133, 172);
/* oklch */ color: oklch(62.2% 0.061 271.3);
Tailwind
colors: {
  custom: {
    50: '#a1a8c4',
    500: '#7985ac',
    950: '#000000',
  },
}
SCSS
$custom: #7985ac;
$custom-light: #a1a8c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7985ac",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 172
  },
  "hsl": {
    "h": 225.882,
    "s": 23.502,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62155,
    "c": 0.06077,
    "h": 271.3
  },
  "luminance": 0.23819
}

Semantic roles & 50–950 ramp

primary
#7985AC
secondary
#CBC6B6
accent
#AB68C0
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F0F12
muted
#7E7F81

Preview Lab

Preview with #7985AC

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

Preview Lab → · Contrast checker → · Palette generator →

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