#979EFD#979EFD

#979EFD is a light, vivid blue. Relative luminance 0.381; OKLCH L 73.3% C 0.137 H 279.2°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#979EFD
RGBrgb(151, 158, 253)
HSLhsl(236, 96%, 79%)
HSVhsv(236, 40%, 99%)
CMYKcmyk(40.3%, 37.5%, 0%, 0.8%)
CIE-LABlab(68.11, 20.44, -48.09)
CIE-LCHlch(68.11, 52.26, 293.02°)
OKLaboklab(73.28% 0.022 -0.1352)
OKLCHoklch(73.28% 0.137 279.2)
XYZxyz(42.7138, 38.1230, 98.0173)
Luminance0.3812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979EFD #FDF697
analogous
#97D1FD #979EFD #C397FD
triadic
#979EFD #FD979E #9EFD97
tetradic
#979EFD #FD97D1 #FDF697 #97FDC3
square
#979EFD #FD97D1 #FDF697 #97FDC3
split-complementary
#979EFD #FDC397 #D1FD97
monochromatic
#1F2EFB #5B66FC #979EFD #D3D6FE #E1E3FE

Accessibility & contrast

On white

2.43
#979EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#979EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979EFD
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979EFD#FFFFFF#000000##000000
##979EFD1.002.438.628.62
#FFFFFF2.431.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#77A2FB
Tritanopia (blue-blind)
#78B1C1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #979efd;
/* rgb */ color: rgb(151, 158, 253);
/* oklch */ color: oklch(73.3% 0.137 279.2);
Tailwind
colors: {
  custom: {
    50: '#b9bafe',
    500: '#979efd',
    950: '#000000',
  },
}
SCSS
$custom: #979efd;
$custom-light: #b9bafe;
$custom-dark: #000000;
JSON
{
  "hex": "#979efd",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 235.882,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73282,
    "c": 0.137,
    "h": 279.2
  },
  "luminance": 0.38125
}

Semantic roles & 50–950 ramp

primary
#979EFD
secondary
#F7F4D4
accent
#D600E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #979EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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