#979EFE#979EFE

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

Color values

HEX#979EFE
RGBrgb(151, 158, 254)
HSLhsl(236, 98%, 79%)
HSVhsv(236, 41%, 100%)
CMYKcmyk(40.6%, 37.8%, 0%, 0.4%)
CIE-LABlab(68.16, 20.71, -48.56)
CIE-LCHlch(68.16, 52.79, 293.10°)
OKLaboklab(73.33% 0.0222 -0.1366)
OKLCHoklch(73.33% 0.138 279.2)
XYZxyz(42.8735, 38.1869, 98.8585)
Luminance0.3819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979EFE #FEF797
analogous
#97D2FE #979EFE #C497FE
triadic
#979EFE #FE979E #9EFE97
tetradic
#979EFE #FE97D2 #FEF797 #97FEC4
square
#979EFE #FE97D2 #FEF797 #97FEC4
split-complementary
#979EFE #FEC497 #D2FE97
monochromatic
#1E2DFD #5A65FD #979EFE #D4D7FF #E1E3FF

Accessibility & contrast

On white

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

On black

8.64
#979EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979EFE
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979EFE#FFFFFF#000000##000000
##979EFE1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#76A2FC
Tritanopia (blue-blind)
#77B1C2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #979efe;
/* rgb */ color: rgb(151, 158, 254);
/* oklch */ color: oklch(73.3% 0.138 279.2);
Tailwind
colors: {
  custom: {
    50: '#b9baff',
    500: '#979efe',
    950: '#000000',
  },
}
SCSS
$custom: #979efe;
$custom-light: #b9baff;
$custom-dark: #000000;
JSON
{
  "hex": "#979efe",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 235.922,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73334,
    "c": 0.13838,
    "h": 279.2
  },
  "luminance": 0.38189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #979EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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