#8EA1E7#8EA1E7

#8EA1E7 is a light, moderate blue. Relative luminance 0.370; OKLCH L 72.2% C 0.104 H 271.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8EA1E7
RGBrgb(142, 161, 231)
HSLhsl(227, 65%, 73%)
HSVhsv(227, 39%, 91%)
CMYKcmyk(38.5%, 30.3%, 0%, 9.4%)
CIE-LABlab(67.28, 10.39, -37.41)
CIE-LCHlch(67.28, 38.83, 285.53°)
OKLaboklab(72.17% 0.0036 -0.1044)
OKLCHoklch(72.17% 0.105 271.9)
XYZxyz(38.3197, 37.0083, 80.7100)
Luminance0.3701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1E7 #E7D48E
analogous
#8ECDE7 #8EA1E7 #A78EE7
triadic
#8EA1E7 #E78EA1 #A1E78E
tetradic
#8EA1E7 #E78ECD #E7D48E #8EE7A7
square
#8EA1E7 #E78ECD #E7D48E #8EE7A7
split-complementary
#8EA1E7 #E7A78E #CDE78E
monochromatic
#2C4FCF #5C77DC #8EA1E7 #C0CBF2 #E6EAFA

Accessibility & contrast

On white

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

On black

8.40
#8EA1E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1E7
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1E7#FFFFFF#000000##000000
##8EA1E71.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA8EA
Deuteranopia (green-blind)
#82A0E5
Tritanopia (blue-blind)
#72AFBA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ea1e7;
/* rgb */ color: rgb(142, 161, 231);
/* oklch */ color: oklch(72.2% 0.104 271.9);
Tailwind
colors: {
  custom: {
    50: '#b2bcef',
    500: '#8ea1e7',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1e7;
$custom-light: #b2bcef;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1e7",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 231
  },
  "hsl": {
    "h": 227.191,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72165,
    "c": 0.1045,
    "h": 271.9
  },
  "luminance": 0.3701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA1E7

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

Preview Lab → · Contrast checker → · Palette generator →

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