#8EA1EC#8EA1EC

#8EA1EC is a light, moderate blue. Relative luminance 0.373; OKLCH L 72.4% C 0.112 H 272.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8EA1EC
RGBrgb(142, 161, 236)
HSLhsl(228, 71%, 74%)
HSVhsv(228, 40%, 93%)
CMYKcmyk(39.8%, 31.8%, 0%, 7.5%)
CIE-LABlab(67.50, 11.76, -39.82)
CIE-LCHlch(67.50, 41.52, 286.45°)
OKLaboklab(72.4% 0.0049 -0.1114)
OKLCHoklch(72.4% 0.112 272.5)
XYZxyz(39.0360, 37.2948, 84.4824)
Luminance0.3730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1EC #ECD98E
analogous
#8ED0EC #8EA1EC #AA8EEC
triadic
#8EA1EC #EC8EA1 #A1EC8E
tetradic
#8EA1EC #EC8ED0 #ECD98E #8EECAA
square
#8EA1EC #EC8ED0 #ECD98E #8EECAA
split-complementary
#8EA1EC #ECAA8E #D0EC8E
monochromatic
#254ADA #5A75E3 #8EA1EC #C2CDF5 #E5E9FB

Accessibility & contrast

On white

2.48
#8EA1EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#8EA1EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1EC
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1EC#FFFFFF#000000##000000
##8EA1EC1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EF
Deuteranopia (green-blind)
#80A1EA
Tritanopia (blue-blind)
#70B0BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ea1ec;
/* rgb */ color: rgb(142, 161, 236);
/* oklch */ color: oklch(72.4% 0.112 272.5);
Tailwind
colors: {
  custom: {
    50: '#b2bcf2',
    500: '#8ea1ec',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1ec;
$custom-light: #b2bcf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1ec",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 236
  },
  "hsl": {
    "h": 227.872,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72402,
    "c": 0.1115,
    "h": 272.5
  },
  "luminance": 0.37297
}

Semantic roles & 50–950 ramp

primary
#8EA1EC
secondary
#F2EDD9
accent
#AC12D3
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8EA1EC

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

Preview Lab → · Contrast checker → · Palette generator →

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