#979DE4#979DE4

#979DE4 is a light, moderate blue. Relative luminance 0.363; OKLCH L 71.9% C 0.103 H 279.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#979DE4
RGBrgb(151, 157, 228)
HSLhsl(235, 59%, 74%)
HSVhsv(235, 34%, 89%)
CMYKcmyk(33.8%, 31.1%, 0%, 10.6%)
CIE-LABlab(66.74, 14.32, -36.56)
CIE-LCHlch(66.74, 39.26, 291.39°)
OKLaboklab(71.86% 0.0175 -0.1018)
OKLCHoklch(71.86% 0.103 279.7)
XYZxyz(38.8192, 36.2934, 78.3437)
Luminance0.3629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979DE4 #E4DE97
analogous
#97C4E4 #979DE4 #B897E4
triadic
#979DE4 #E4979D #9DE497
tetradic
#979DE4 #E497C4 #E4DE97 #97E4B8
square
#979DE4 #E497C4 #E4DE97 #97E4B8
split-complementary
#979DE4 #E4B897 #C4E497
monochromatic
#3641CB #666FD7 #979DE4 #C8CBF1 #E7E8F9

Accessibility & contrast

On white

2.54
#979DE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#979DE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979DE4
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979DE4#FFFFFF#000000##000000
##979DE41.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A5E7
Deuteranopia (green-blind)
#83A0E2
Tritanopia (blue-blind)
#82AAB6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #979de4;
/* rgb */ color: rgb(151, 157, 228);
/* oklch */ color: oklch(71.9% 0.103 279.7);
Tailwind
colors: {
  custom: {
    50: '#b8b9ec',
    500: '#979de4',
    950: '#000000',
  },
}
SCSS
$custom: #979de4;
$custom-light: #b8b9ec;
$custom-dark: #000000;
JSON
{
  "hex": "#979de4",
  "rgb": {
    "r": 151,
    "g": 157,
    "b": 228
  },
  "hsl": {
    "h": 235.325,
    "s": 58.779,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71864,
    "c": 0.10331,
    "h": 279.7
  },
  "luminance": 0.36295
}

Semantic roles & 50–950 ramp

primary
#979DE4
secondary
#F0EEDB
accent
#B91FC6
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #979DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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