#8EA2FC#8EA2FC

#8EA2FC is a light, vivid blue. Relative luminance 0.386; OKLCH L 73.4% C 0.132 H 273.2°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8EA2FC
RGBrgb(142, 162, 252)
HSLhsl(229, 95%, 77%)
HSVhsv(229, 44%, 99%)
CMYKcmyk(43.7%, 35.7%, 0%, 1.2%)
CIE-LABlab(68.47, 15.64, -47.02)
CIE-LCHlch(68.47, 49.55, 288.40°)
OKLaboklab(73.39% 0.0074 -0.1323)
OKLCHoklch(73.39% 0.132 273.2)
XYZxyz(41.6409, 38.6175, 97.3364)
Luminance0.3862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2FC #FCE88E
analogous
#8ED9FC #8EA2FC #B18EFC
triadic
#8EA2FC #FC8EA2 #A2FC8E
tetradic
#8EA2FC #FC8ED9 #FCE88E #8EFCB1
square
#8EA2FC #FC8ED9 #FCE88E #8EFCB1
split-complementary
#8EA2FC #FCB18E #D9FC8E
monochromatic
#1740F9 #5271FA #8EA2FC #CAD3FE #E1E6FE

Accessibility & contrast

On white

2.41
#8EA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#8EA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2FC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2FC#FFFFFF#000000##000000
##8EA2FC1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#78A3FA
Tritanopia (blue-blind)
#68B4C3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ea2fc;
/* rgb */ color: rgb(142, 162, 252);
/* oklch */ color: oklch(73.4% 0.132 273.2);
Tailwind
colors: {
  custom: {
    50: '#b3bdfe',
    500: '#8ea2fc',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2fc;
$custom-light: #b3bdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2fc",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 229.091,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73391,
    "c": 0.13248,
    "h": 273.2
  },
  "luminance": 0.3862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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