#868EFE#868EFE

#868EFE is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.1% C 0.163 H 278.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#868EFE
RGBrgb(134, 142, 254)
HSLhsl(236, 98%, 76%)
HSVhsv(236, 47%, 100%)
CMYKcmyk(47.2%, 44.1%, 0%, 0.4%)
CIE-LABlab(62.98, 25.91, -56.84)
CIE-LCHlch(62.98, 62.46, 294.50°)
OKLaboklab(69.08% 0.0231 -0.1612)
OKLCHoklch(69.08% 0.163 278.1)
XYZxyz(37.3884, 31.5681, 97.8699)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868EFE #FEF686
analogous
#86CAFE #868EFE #BA86FE
triadic
#868EFE #FE868E #8EFE86
tetradic
#868EFE #FE86CA #FEF686 #86FEBA
square
#868EFE #FE86CA #FEF686 #86FEBA
split-complementary
#868EFE #FEBA86 #CAFE86
monochromatic
#0D1DFD #4955FD #868EFE #C3C7FF #E1E3FF

Accessibility & contrast

On white

2.87
#868EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#868EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #868EFE
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868EFE#FFFFFF#000000##000000
##868EFE1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#5AA6BA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #868efe;
/* rgb */ color: rgb(134, 142, 254);
/* oklch */ color: oklch(69.1% 0.163 278.1);
Tailwind
colors: {
  custom: {
    50: '#afaeff',
    500: '#868efe',
    950: '#000000',
  },
}
SCSS
$custom: #868efe;
$custom-light: #afaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#868efe",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 236,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69084,
    "c": 0.16284,
    "h": 278.1
  },
  "luminance": 0.3157
}

Semantic roles & 50–950 ramp

primary
#868EFE
secondary
#F7F5D4
accent
#D600E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #868EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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