#8EA1E8#8EA1E8

#8EA1E8 is a light, moderate blue. Relative luminance 0.371; OKLCH L 72.2% C 0.106 H 272.1°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8EA1E8
RGBrgb(142, 161, 232)
HSLhsl(227, 66%, 73%)
HSVhsv(227, 39%, 91%)
CMYKcmyk(38.8%, 30.6%, 0%, 9%)
CIE-LABlab(67.33, 10.66, -37.89)
CIE-LCHlch(67.33, 39.37, 285.72°)
OKLaboklab(72.21% 0.0038 -0.1058)
OKLCHoklch(72.21% 0.106 272.1)
XYZxyz(38.4613, 37.0650, 81.4560)
Luminance0.3707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1E8 #E8D58E
analogous
#8ECEE8 #8EA1E8 #A88EE8
triadic
#8EA1E8 #E88EA1 #A1E88E
tetradic
#8EA1E8 #E88ECE #E8D58E #8EE8A8
square
#8EA1E8 #E88ECE #E8D58E #8EE8A8
split-complementary
#8EA1E8 #E8A88E #CEE88E
monochromatic
#2B4ED1 #5B77DE #8EA1E8 #C1CBF2 #E6EAFA

Accessibility & contrast

On white

2.50
#8EA1E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#8EA1E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1E8
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1E8#FFFFFF#000000##000000
##8EA1E81.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A8EB
Deuteranopia (green-blind)
#82A0E6
Tritanopia (blue-blind)
#72AFBA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ea1e8;
/* rgb */ color: rgb(142, 161, 232);
/* oklch */ color: oklch(72.2% 0.106 272.1);
Tailwind
colors: {
  custom: {
    50: '#b2bcef',
    500: '#8ea1e8',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1e8;
$custom-light: #b2bcef;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1e8",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 232
  },
  "hsl": {
    "h": 227.333,
    "s": 66.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72212,
    "c": 0.10591,
    "h": 272.1
  },
  "luminance": 0.37067
}

Semantic roles & 50–950 ramp

primary
#8EA1E8
secondary
#F1ECDA
accent
#A717CE
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8EA1E8

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

Preview Lab → · Contrast checker → · Palette generator →

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