#8EA2FD#8EA2FD

#8EA2FD is a light, vivid blue. Relative luminance 0.387; OKLCH L 73.4% C 0.134 H 273.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8EA2FD
RGBrgb(142, 162, 253)
HSLhsl(229, 97%, 77%)
HSVhsv(229, 44%, 99%)
CMYKcmyk(43.9%, 36%, 0%, 0.8%)
CIE-LABlab(68.52, 15.92, -47.49)
CIE-LCHlch(68.52, 50.09, 288.54°)
OKLaboklab(73.44% 0.0077 -0.1336)
OKLCHoklch(73.44% 0.134 273.3)
XYZxyz(41.7998, 38.6811, 98.1731)
Luminance0.3868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2FD #FDE98E
analogous
#8EDAFD #8EA2FD #B18EFD
triadic
#8EA2FD #FD8EA2 #A2FD8E
tetradic
#8EA2FD #FD8EDA #FDE98E #8EFDB1
square
#8EA2FD #FD8EDA #FDE98E #8EFDB1
split-complementary
#8EA2FD #FDB18E #DAFD8E
monochromatic
#163FFB #5271FC #8EA2FD #CAD3FE #E1E6FE

Accessibility & contrast

On white

2.40
#8EA2FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#8EA2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2FD
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2FD#FFFFFF#000000##000000
##8EA2FD1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#78A3FB
Tritanopia (blue-blind)
#67B5C4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ea2fd;
/* rgb */ color: rgb(142, 162, 253);
/* oklch */ color: oklch(73.4% 0.134 273.3);
Tailwind
colors: {
  custom: {
    50: '#b4bdfe',
    500: '#8ea2fd',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2fd;
$custom-light: #b4bdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2fd",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 229.189,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73442,
    "c": 0.13386,
    "h": 273.3
  },
  "luminance": 0.38683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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