#8EA4FC#8EA4FC

#8EA4FC is a light, vivid blue. Relative luminance 0.393; OKLCH L 73.8% C 0.130 H 272.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8EA4FC
RGBrgb(142, 164, 252)
HSLhsl(228, 95%, 77%)
HSVhsv(228, 44%, 99%)
CMYKcmyk(43.7%, 34.9%, 0%, 1.2%)
CIE-LABlab(68.99, 14.50, -46.21)
CIE-LCHlch(68.99, 48.43, 287.42°)
OKLaboklab(73.79% 0.005 -0.1299)
OKLCHoklch(73.79% 0.13 272.2)
XYZxyz(41.9960, 39.3277, 97.4547)
Luminance0.3933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA4FC #FCE68E
analogous
#8EDBFC #8EA4FC #AF8EFC
triadic
#8EA4FC #FC8EA4 #A4FC8E
tetradic
#8EA4FC #FC8EDB #FCE68E #8EFCAF
square
#8EA4FC #FC8EDB #FCE68E #8EFCAF
split-complementary
#8EA4FC #FCAF8E #DBFC8E
monochromatic
#1744F9 #5274FA #8EA4FC #CAD4FE #E1E7FE

Accessibility & contrast

On white

2.37
#8EA4FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#8EA4FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA4FC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA4FC#FFFFFF#000000##000000
##8EA4FC1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#7BA4FA
Tritanopia (blue-blind)
#68B6C4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ea4fc;
/* rgb */ color: rgb(142, 164, 252);
/* oklch */ color: oklch(73.8% 0.130 272.2);
Tailwind
colors: {
  custom: {
    50: '#b3befd',
    500: '#8ea4fc',
    950: '#000000',
  },
}
SCSS
$custom: #8ea4fc;
$custom-light: #b3befd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea4fc",
  "rgb": {
    "r": 142,
    "g": 164,
    "b": 252
  },
  "hsl": {
    "h": 228,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73788,
    "c": 0.13001,
    "h": 272.2
  },
  "luminance": 0.3933
}

Semantic roles & 50–950 ramp

primary
#8EA4FC
secondary
#F6F0D5
accent
#B800E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8EA4FC

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

Preview Lab → · Contrast checker → · Palette generator →

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