#8EA1F5#8EA1F5

#8EA1F5 is a light, vivid blue. Relative luminance 0.378; OKLCH L 72.8% C 0.124 H 273.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8EA1F5
RGBrgb(142, 161, 245)
HSLhsl(229, 84%, 76%)
HSVhsv(229, 42%, 96%)
CMYKcmyk(42%, 34.3%, 0%, 3.9%)
CIE-LABlab(67.90, 14.25, -44.12)
CIE-LCHlch(67.90, 46.36, 287.90°)
OKLaboklab(72.84% 0.0071 -0.1238)
OKLCHoklch(72.84% 0.124 273.3)
XYZxyz(40.3766, 37.8311, 91.5431)
Luminance0.3783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1F5 #F5E28E
analogous
#8ED4F5 #8EA1F5 #AE8EF5
triadic
#8EA1F5 #F58EA1 #A1F58E
tetradic
#8EA1F5 #F58ED4 #F5E28E #8EF5AE
square
#8EA1F5 #F58ED4 #F5E28E #8EF5AE
split-complementary
#8EA1F5 #F5AE8E #D4F58E
monochromatic
#1E43EB #5672F0 #8EA1F5 #C6D0FA #E3E8FD

Accessibility & contrast

On white

2.45
#8EA1F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#8EA1F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1F5
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1F5#FFFFFF#000000##000000
##8EA1F51.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AAF8
Deuteranopia (green-blind)
#7BA1F3
Tritanopia (blue-blind)
#6CB2C0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ea1f5;
/* rgb */ color: rgb(142, 161, 245);
/* oklch */ color: oklch(72.8% 0.124 273.3);
Tailwind
colors: {
  custom: {
    50: '#b3bcf9',
    500: '#8ea1f5',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1f5;
$custom-light: #b3bcf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1f5",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 245
  },
  "hsl": {
    "h": 228.932,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72841,
    "c": 0.12403,
    "h": 273.3
  },
  "luminance": 0.37833
}

Semantic roles & 50–950 ramp

primary
#8EA1F5
secondary
#F4EFD7
accent
#B805E0
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8EA1F5

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

Preview Lab → · Contrast checker → · Palette generator →

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