#8EA5FE#8EA5FE

#8EA5FE is a light, vivid blue. Relative luminance 0.398; OKLCH L 74.1% C 0.132 H 271.9°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8EA5FE
RGBrgb(142, 165, 254)
HSLhsl(228, 98%, 78%)
HSVhsv(228, 44%, 100%)
CMYKcmyk(44.1%, 35%, 0%, 0.4%)
CIE-LABlab(69.34, 14.49, -46.75)
CIE-LCHlch(69.34, 48.94, 287.23°)
OKLaboklab(74.09% 0.0043 -0.1315)
OKLCHoklch(74.09% 0.132 271.9)
XYZxyz(42.4943, 39.8145, 99.1926)
Luminance0.3982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA5FE #FEE78E
analogous
#8EDDFE #8EA5FE #AF8EFE
triadic
#8EA5FE #FE8EA5 #A5FE8E
tetradic
#8EA5FE #FE8EDD #FEE78E #8EFEAF
square
#8EA5FE #FE8EDD #FEE78E #8EFEAF
split-complementary
#8EA5FE #FEAF8E #DDFE8E
monochromatic
#1544FD #5175FD #8EA5FE #CBD5FF #E1E7FF

Accessibility & contrast

On white

2.34
#8EA5FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#8EA5FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA5FE
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA5FE#FFFFFF#000000##000000
##8EA5FE1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#7BA5FC
Tritanopia (blue-blind)
#66B7C6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ea5fe;
/* rgb */ color: rgb(142, 165, 254);
/* oklch */ color: oklch(74.1% 0.132 271.9);
Tailwind
colors: {
  custom: {
    50: '#b4bfff',
    500: '#8ea5fe',
    950: '#000000',
  },
}
SCSS
$custom: #8ea5fe;
$custom-light: #b4bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea5fe",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 254
  },
  "hsl": {
    "h": 227.679,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74087,
    "c": 0.13154,
    "h": 271.9
  },
  "luminance": 0.39817
}

Semantic roles & 50–950 ramp

primary
#8EA5FE
secondary
#F7F0D4
accent
#B600E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8EA5FE

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

Preview Lab → · Contrast checker → · Palette generator →

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