#8EA7FE#8EA7FE

#8EA7FE is a light, vivid blue. Relative luminance 0.405; OKLCH L 74.5% C 0.129 H 270.8°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#8EA7FE
RGBrgb(142, 167, 254)
HSLhsl(227, 98%, 78%)
HSVhsv(227, 44%, 100%)
CMYKcmyk(44.1%, 34.3%, 0%, 0.4%)
CIE-LABlab(69.85, 13.35, -45.94)
CIE-LCHlch(69.85, 47.84, 286.21°)
OKLaboklab(74.49% 0.0019 -0.1291)
OKLCHoklch(74.49% 0.129 270.8)
XYZxyz(42.8578, 40.5416, 99.3137)
Luminance0.4054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA7FE #FEE58E
analogous
#8EDFFE #8EA7FE #AD8EFE
triadic
#8EA7FE #FE8EA7 #A7FE8E
tetradic
#8EA7FE #FE8EDF #FEE58E #8EFEAD
square
#8EA7FE #FE8EDF #FEE58E #8EFEAD
split-complementary
#8EA7FE #FEAD8E #DFFE8E
monochromatic
#1549FD #5178FD #8EA7FE #CBD6FF #E1E7FF

Accessibility & contrast

On white

2.31
#8EA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#8EA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA7FE
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA7FE#FFFFFF#000000##000000
##8EA7FE1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#7DA6FC
Tritanopia (blue-blind)
#66B9C7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8ea7fe;
/* rgb */ color: rgb(142, 167, 254);
/* oklch */ color: oklch(74.5% 0.129 270.8);
Tailwind
colors: {
  custom: {
    50: '#b4c0ff',
    500: '#8ea7fe',
    950: '#000000',
  },
}
SCSS
$custom: #8ea7fe;
$custom-light: #b4c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea7fe",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 226.607,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74486,
    "c": 0.12911,
    "h": 270.8
  },
  "luminance": 0.40544
}

Semantic roles & 50–950 ramp

primary
#8EA7FE
secondary
#F7EFD4
accent
#B200E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8EA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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