#979ECD#979ECD

#979ECD is a light, moderate blue. Relative luminance 0.354; OKLCH L 71.1% C 0.069 H 277.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#979ECD
RGBrgb(151, 158, 205)
HSLhsl(232, 35%, 70%)
HSVhsv(232, 26%, 80%)
CMYKcmyk(26.3%, 22.9%, 0%, 19.6%)
CIE-LABlab(66.09, 7.95, -24.85)
CIE-LCHlch(66.09, 26.09, 287.74°)
OKLaboklab(71.06% 0.0095 -0.0684)
OKLCHoklch(71.06% 0.069 277.9)
XYZxyz(36.0059, 35.4399, 62.6893)
Luminance0.3544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979ECD #CDC697
analogous
#97B9CD #979ECD #AB97CD
triadic
#979ECD #CD979E #9ECD97
tetradic
#979ECD #CD97B9 #CDC697 #97CDAB
square
#979ECD #CD97B9 #CDC697 #97CDAB
split-complementary
#979ECD #CDAB97 #B9CD97
monochromatic
#4C569E #6E77B9 #979ECD #C0C5E1 #EAEBF5

Accessibility & contrast

On white

2.60
#979ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#979ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979ECD
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979ECD#FFFFFF#000000##000000
##979ECD1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A3CF
Deuteranopia (green-blind)
#8E9FCC
Tritanopia (blue-blind)
#8AA7AE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #979ecd;
/* rgb */ color: rgb(151, 158, 205);
/* oklch */ color: oklch(71.1% 0.069 277.9);
Tailwind
colors: {
  custom: {
    50: '#b6badc',
    500: '#979ecd',
    950: '#000000',
  },
}
SCSS
$custom: #979ecd;
$custom-light: #b6badc;
$custom-dark: #000000;
JSON
{
  "hex": "#979ecd",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 205
  },
  "hsl": {
    "h": 232.222,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71056,
    "c": 0.06905,
    "h": 277.9
  },
  "luminance": 0.35441
}

Semantic roles & 50–950 ramp

primary
#979ECD
secondary
#E8E6D8
accent
#9F38AE
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#111115
muted
#808083

Preview Lab

Preview with #979ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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