#8EA1FC#8EA1FC

#8EA1FC is a light, vivid blue. Relative luminance 0.383; OKLCH L 73.2% C 0.134 H 273.7°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8EA1FC
RGBrgb(142, 161, 252)
HSLhsl(230, 95%, 77%)
HSVhsv(230, 44%, 99%)
CMYKcmyk(43.7%, 36.1%, 0%, 1.2%)
CIE-LABlab(68.22, 16.21, -47.42)
CIE-LCHlch(68.22, 50.12, 288.87°)
OKLaboklab(73.19% 0.0087 -0.1335)
OKLCHoklch(73.19% 0.134 273.7)
XYZxyz(41.4655, 38.2666, 97.2779)
Luminance0.3827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1FC #FCE98E
analogous
#8ED8FC #8EA1FC #B28EFC
triadic
#8EA1FC #FC8EA1 #A1FC8E
tetradic
#8EA1FC #FC8ED8 #FCE98E #8EFCB2
square
#8EA1FC #FC8ED8 #FCE98E #8EFCB2
split-complementary
#8EA1FC #FCB28E #D8FC8E
monochromatic
#173EF9 #526FFA #8EA1FC #CAD3FE #E1E6FE

Accessibility & contrast

On white

2.43
#8EA1FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#8EA1FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1FC
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1FC#FFFFFF#000000##000000
##8EA1FC1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#68B4C3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ea1fc;
/* rgb */ color: rgb(142, 161, 252);
/* oklch */ color: oklch(73.2% 0.134 273.7);
Tailwind
colors: {
  custom: {
    50: '#b3bcfe',
    500: '#8ea1fc',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1fc;
$custom-light: #b3bcfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1fc",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 252
  },
  "hsl": {
    "h": 229.636,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73193,
    "c": 0.13373,
    "h": 273.7
  },
  "luminance": 0.38269
}

Semantic roles & 50–950 ramp

primary
#8EA1FC
secondary
#F6F1D5
accent
#BE00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8EA1FC

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

Preview Lab → · Contrast checker → · Palette generator →

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