#8EA1FE#8EA1FE

#8EA1FE is a light, vivid blue. Relative luminance 0.384; OKLCH L 73.3% C 0.136 H 273.8°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8EA1FE
RGBrgb(142, 161, 254)
HSLhsl(230, 98%, 78%)
HSVhsv(230, 44%, 100%)
CMYKcmyk(44.1%, 36.6%, 0%, 0.4%)
CIE-LABlab(68.31, 16.78, -48.36)
CIE-LCHlch(68.31, 51.19, 289.13°)
OKLaboklab(73.3% 0.0091 -0.1362)
OKLCHoklch(73.3% 0.136 273.8)
XYZxyz(41.7841, 38.3941, 98.9558)
Luminance0.3840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1FE #FEEB8E
analogous
#8ED9FE #8EA1FE #B38EFE
triadic
#8EA1FE #FE8EA1 #A1FE8E
tetradic
#8EA1FE #FE8ED9 #FEEB8E #8EFEB3
square
#8EA1FE #FE8ED9 #FEEB8E #8EFEB3
split-complementary
#8EA1FE #FEB38E #D9FE8E
monochromatic
#153CFD #516FFD #8EA1FE #CBD3FF #E1E6FF

Accessibility & contrast

On white

2.42
#8EA1FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#8EA1FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1FE
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1FE#FFFFFF#000000##000000
##8EA1FE1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#76A2FC
Tritanopia (blue-blind)
#67B4C4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ea1fe;
/* rgb */ color: rgb(142, 161, 254);
/* oklch */ color: oklch(73.3% 0.136 273.8);
Tailwind
colors: {
  custom: {
    50: '#b4bcff',
    500: '#8ea1fe',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1fe;
$custom-light: #b4bcff;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1fe",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 254
  },
  "hsl": {
    "h": 229.821,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73296,
    "c": 0.13648,
    "h": 273.8
  },
  "luminance": 0.38396
}

Semantic roles & 50–950 ramp

primary
#8EA1FE
secondary
#F7F1D4
accent
#BF00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8EA1FE

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

Preview Lab → · Contrast checker → · Palette generator →

#8EA1FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva