#7985B5#7985B5

#7985B5 is a light, moderate blue. Relative luminance 0.242; OKLCH L 62.6% C 0.074 H 273.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7985B5
RGBrgb(121, 133, 181)
HSLhsl(228, 29%, 59%)
HSVhsv(228, 33%, 71%)
CMYKcmyk(33.1%, 26.5%, 0%, 29%)
CIE-LABlab(56.26, 7.21, -26.64)
CIE-LCHlch(56.26, 27.60, 285.14°)
OKLaboklab(62.55% 0.0042 -0.0738)
OKLCHoklch(62.55% 0.074 273.3)
XYZxyz(24.6108, 24.1753, 47.0767)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985B5 #B5A979
analogous
#79A3B5 #7985B5 #8B79B5
triadic
#7985B5 #B57985 #85B579
tetradic
#7985B5 #B579A3 #B5A979 #79B58B
square
#7985B5 #B579A3 #B5A979 #79B58B
split-complementary
#7985B5 #B58B79 #A3B579
monochromatic
#404A74 #56649B #7985B5 #A0A9CB #C8CDE1

Accessibility & contrast

On white

3.60
#7985B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7985B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985B5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985B5#FFFFFF#000000##000000
##7985B51.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#768AB7
Deuteranopia (green-blind)
#7285B4
Tritanopia (blue-blind)
#688E96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7985b5;
/* rgb */ color: rgb(121, 133, 181);
/* oklch */ color: oklch(62.6% 0.074 273.3);
Tailwind
colors: {
  custom: {
    50: '#a1a8cb',
    500: '#7985b5',
    950: '#000000',
  },
}
SCSS
$custom: #7985b5;
$custom-light: #a1a8cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7985b5",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 181
  },
  "hsl": {
    "h": 228,
    "s": 28.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62552,
    "c": 0.07397,
    "h": 273.3
  },
  "luminance": 0.24176
}

Semantic roles & 50–950 ramp

primary
#7985B5
secondary
#D1CCB9
accent
#B163C5
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #7985B5

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

Preview Lab → · Contrast checker → · Palette generator →

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