#8EA2FE#8EA2FE

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

Color values

HEX#8EA2FE
RGBrgb(142, 162, 254)
HSLhsl(229, 98%, 78%)
HSVhsv(229, 44%, 100%)
CMYKcmyk(44.1%, 36.2%, 0%, 0.4%)
CIE-LABlab(68.57, 16.21, -47.96)
CIE-LCHlch(68.57, 50.63, 288.67°)
OKLaboklab(73.49% 0.0079 -0.135)
OKLCHoklch(73.49% 0.135 273.3)
XYZxyz(41.9595, 38.7450, 99.0143)
Luminance0.3875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2FE #FEEA8E
analogous
#8EDAFE #8EA2FE #B28EFE
triadic
#8EA2FE #FE8EA2 #A2FE8E
tetradic
#8EA2FE #FE8EDA #FEEA8E #8EFEB2
square
#8EA2FE #FE8EDA #FEEA8E #8EFEB2
split-complementary
#8EA2FE #FEB28E #DAFE8E
monochromatic
#153EFD #5170FD #8EA2FE #CBD4FF #E1E6FF

Accessibility & contrast

On white

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

On black

8.75
#8EA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2FE
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2FE#FFFFFF#000000##000000
##8EA2FE1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ea2fe;
/* rgb */ color: rgb(142, 162, 254);
/* oklch */ color: oklch(73.5% 0.135 273.3);
Tailwind
colors: {
  custom: {
    50: '#b4bdff',
    500: '#8ea2fe',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2fe;
$custom-light: #b4bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2fe",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 229.286,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73493,
    "c": 0.13523,
    "h": 273.3
  },
  "luminance": 0.38747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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