#8EA5FC#8EA5FC

#8EA5FC is a light, vivid blue. Relative luminance 0.397; OKLCH L 74.0% C 0.129 H 271.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8EA5FC
RGBrgb(142, 165, 252)
HSLhsl(227, 95%, 77%)
HSVhsv(227, 44%, 99%)
CMYKcmyk(43.7%, 34.5%, 0%, 1.2%)
CIE-LABlab(69.25, 13.93, -45.81)
CIE-LCHlch(69.25, 47.88, 286.91°)
OKLaboklab(73.99% 0.0038 -0.1287)
OKLCHoklch(73.99% 0.129 271.7)
XYZxyz(42.1757, 39.6871, 97.5146)
Luminance0.3969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA5FC #FCE58E
analogous
#8EDCFC #8EA5FC #AE8EFC
triadic
#8EA5FC #FC8EA5 #A5FC8E
tetradic
#8EA5FC #FC8EDC #FCE58E #8EFCAE
square
#8EA5FC #FC8EDC #FCE58E #8EFCAE
split-complementary
#8EA5FC #FCAE8E #DCFC8E
monochromatic
#1746F9 #5276FA #8EA5FC #CAD4FE #E1E7FE

Accessibility & contrast

On white

2.35
#8EA5FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#8EA5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA5FC
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA5FC#FFFFFF#000000##000000
##8EA5FC1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#67B7C5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ea5fc;
/* rgb */ color: rgb(142, 165, 252);
/* oklch */ color: oklch(74.0% 0.129 271.7);
Tailwind
colors: {
  custom: {
    50: '#b3bffd',
    500: '#8ea5fc',
    950: '#000000',
  },
}
SCSS
$custom: #8ea5fc;
$custom-light: #b3bffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea5fc",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 227.455,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73987,
    "c": 0.12879,
    "h": 271.7
  },
  "luminance": 0.39689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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