#8EA8FE#8EA8FE

#8EA8FE is a light, vivid blue. Relative luminance 0.409; OKLCH L 74.7% C 0.128 H 270.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#8EA8FE
RGBrgb(142, 168, 254)
HSLhsl(226, 98%, 78%)
HSVhsv(226, 44%, 100%)
CMYKcmyk(44.1%, 33.9%, 0%, 0.4%)
CIE-LABlab(70.11, 12.79, -45.53)
CIE-LCHlch(70.11, 47.29, 285.69°)
OKLaboklab(74.69% 0.0007 -0.1279)
OKLCHoklch(74.69% 0.128 270.3)
XYZxyz(43.0417, 40.9094, 99.3750)
Luminance0.4091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA8FE #FEE48E
analogous
#8EE0FE #8EA8FE #AC8EFE
triadic
#8EA8FE #FE8EA8 #A8FE8E
tetradic
#8EA8FE #FE8EE0 #FEE48E #8EFEAC
square
#8EA8FE #FE8EE0 #FEE48E #8EFEAC
split-complementary
#8EA8FE #FEAC8E #E0FE8E
monochromatic
#154BFD #5179FD #8EA8FE #CBD7FF #E1E8FF

Accessibility & contrast

On white

2.29
#8EA8FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#8EA8FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA8FE
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA8FE#FFFFFF#000000##000000
##8EA8FE1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#7EA7FC
Tritanopia (blue-blind)
#66BAC7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8ea8fe;
/* rgb */ color: rgb(142, 168, 254);
/* oklch */ color: oklch(74.7% 0.128 270.3);
Tailwind
colors: {
  custom: {
    50: '#b4c1ff',
    500: '#8ea8fe',
    950: '#000000',
  },
}
SCSS
$custom: #8ea8fe;
$custom-light: #b4c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea8fe",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 254
  },
  "hsl": {
    "h": 226.071,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74686,
    "c": 0.12792,
    "h": 270.3
  },
  "luminance": 0.40912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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