#979DFD#979DFD

#979DFD is a light, vivid blue. Relative luminance 0.378; OKLCH L 73.1% C 0.138 H 279.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#979DFD
RGBrgb(151, 157, 253)
HSLhsl(236, 96%, 79%)
HSVhsv(236, 40%, 99%)
CMYKcmyk(40.3%, 37.9%, 0%, 0.8%)
CIE-LABlab(67.86, 21.01, -48.49)
CIE-LCHlch(67.86, 52.84, 293.42°)
OKLaboklab(73.09% 0.0232 -0.1364)
OKLCHoklch(73.09% 0.138 279.7)
XYZxyz(42.5439, 37.7833, 97.9607)
Luminance0.3779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979DFD #FDF797
analogous
#97D0FD #979DFD #C497FD
triadic
#979DFD #FD979D #9DFD97
tetradic
#979DFD #FD97D0 #FDF797 #97FDC4
square
#979DFD #FD97D0 #FDF797 #97FDC4
split-complementary
#979DFD #FDC497 #D0FD97
monochromatic
#1F2CFB #5B64FC #979DFD #D3D6FE #E1E3FE

Accessibility & contrast

On white

2.45
#979DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#979DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979DFD
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979DFD#FFFFFF#000000##000000
##979DFD1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#78B0C1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #979dfd;
/* rgb */ color: rgb(151, 157, 253);
/* oklch */ color: oklch(73.1% 0.138 279.7);
Tailwind
colors: {
  custom: {
    50: '#b9b9fe',
    500: '#979dfd',
    950: '#000000',
  },
}
SCSS
$custom: #979dfd;
$custom-light: #b9b9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#979dfd",
  "rgb": {
    "r": 151,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 236.471,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7309,
    "c": 0.13834,
    "h": 279.7
  },
  "luminance": 0.37785
}

Semantic roles & 50–950 ramp

primary
#979DFD
secondary
#F7F5D4
accent
#D800E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #979DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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