#979CE5#979CE5

#979CE5 is a light, moderate blue. Relative luminance 0.360; OKLCH L 71.7% C 0.106 H 280.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#979CE5
RGBrgb(151, 156, 229)
HSLhsl(236, 60%, 75%)
HSVhsv(236, 34%, 90%)
CMYKcmyk(34.1%, 31.9%, 0%, 10.2%)
CIE-LABlab(66.53, 15.15, -37.44)
CIE-LCHlch(66.53, 40.39, 292.03°)
OKLaboklab(71.71% 0.0191 -0.1044)
OKLCHoklch(71.71% 0.106 280.3)
XYZxyz(38.7899, 36.0121, 79.0208)
Luminance0.3601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979CE5 #E5E097
analogous
#97C3E5 #979CE5 #B997E5
triadic
#979CE5 #E5979C #9CE597
tetradic
#979CE5 #E597C3 #E5E097 #97E5B9
square
#979CE5 #E597C3 #E5E097 #97E5B9
split-complementary
#979CE5 #E5B997 #C3E597
monochromatic
#353FCD #666DD9 #979CE5 #C8CBF1 #E7E8F9

Accessibility & contrast

On white

2.56
#979CE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#979CE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979CE5
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979CE5#FFFFFF#000000##000000
##979CE51.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A5E8
Deuteranopia (green-blind)
#819FE3
Tritanopia (blue-blind)
#82AAB6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #979ce5;
/* rgb */ color: rgb(151, 156, 229);
/* oklch */ color: oklch(71.7% 0.106 280.3);
Tailwind
colors: {
  custom: {
    50: '#b8b9ed',
    500: '#979ce5',
    950: '#000000',
  },
}
SCSS
$custom: #979ce5;
$custom-light: #b8b9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#979ce5",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 229
  },
  "hsl": {
    "h": 236.154,
    "s": 60,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71713,
    "c": 0.1061,
    "h": 280.3
  },
  "luminance": 0.36013
}

Semantic roles & 50–950 ramp

primary
#979CE5
secondary
#F0EFDB
accent
#BD1EC8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #979CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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