#979DC7#979DC7

#979DC7 is a light, moderate blue. Relative luminance 0.348; OKLCH L 70.6% C 0.062 H 278.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#979DC7
RGBrgb(151, 157, 199)
HSLhsl(233, 30%, 69%)
HSVhsv(233, 24%, 78%)
CMYKcmyk(24.1%, 21.1%, 0%, 22%)
CIE-LABlab(65.61, 7.06, -22.25)
CIE-LCHlch(65.61, 23.35, 287.61°)
OKLaboklab(70.61% 0.009 -0.0611)
OKLCHoklch(70.61% 0.062 278.3)
XYZxyz(35.1256, 34.8160, 58.8913)
Luminance0.3482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979DC7 #C7C197
analogous
#97B5C7 #979DC7 #A997C7
triadic
#979DC7 #C7979D #9DC797
tetradic
#979DC7 #C797B5 #C7C197 #97C7A9
square
#979DC7 #C797B5 #C7C197 #97C7A9
split-complementary
#979DC7 #C7A997 #B5C797
monochromatic
#505894 #6F78B2 #979DC7 #BFC2DC #E7E8F2

Accessibility & contrast

On white

2.64
#979DC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#979DC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979DC7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979DC7#FFFFFF#000000##000000
##979DC71.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A1C9
Deuteranopia (green-blind)
#8F9EC6
Tritanopia (blue-blind)
#8CA5AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #979dc7;
/* rgb */ color: rgb(151, 157, 199);
/* oklch */ color: oklch(70.6% 0.062 278.3);
Tailwind
colors: {
  custom: {
    50: '#b6b9d8',
    500: '#979dc7',
    950: '#000000',
  },
}
SCSS
$custom: #979dc7;
$custom-light: #b6b9d8;
$custom-dark: #000000;
JSON
{
  "hex": "#979dc7",
  "rgb": {
    "r": 151,
    "g": 157,
    "b": 199
  },
  "hsl": {
    "h": 232.5,
    "s": 30,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70606,
    "c": 0.06171,
    "h": 278.3
  },
  "luminance": 0.34817
}

Semantic roles & 50–950 ramp

primary
#979DC7
secondary
#E4E2D6
accent
#9B3DA9
background
#FBFBFD
surface
#F6F6FA
border
#D0D0D3
text
#111114
muted
#808083

Preview Lab

Preview with #979DC7

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

Preview Lab → · Contrast checker → · Palette generator →

#979DC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva