#8EA1E4#8EA1E4

#8EA1E4 is a light, moderate blue. Relative luminance 0.368; OKLCH L 72.0% C 0.100 H 271.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8EA1E4
RGBrgb(142, 161, 228)
HSLhsl(227, 61%, 73%)
HSVhsv(227, 38%, 89%)
CMYKcmyk(37.7%, 29.4%, 0%, 10.6%)
CIE-LABlab(67.16, 9.58, -35.96)
CIE-LCHlch(67.16, 37.21, 284.92°)
OKLaboklab(72.03% 0.0027 -0.1003)
OKLCHoklch(72.03% 0.1 271.6)
XYZxyz(37.8996, 36.8403, 78.4977)
Luminance0.3684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1E4 #E4D18E
analogous
#8ECCE4 #8EA1E4 #A68EE4
triadic
#8EA1E4 #E48EA1 #A1E48E
tetradic
#8EA1E4 #E48ECC #E4D18E #8EE4A6
square
#8EA1E4 #E48ECC #E4D18E #8EE4A6
split-complementary
#8EA1E4 #E4A68E #CCE48E
monochromatic
#3051C8 #5D78D8 #8EA1E4 #BFCAF0 #E6EAF9

Accessibility & contrast

On white

2.51
#8EA1E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#8EA1E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1E4
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1E4#FFFFFF#000000##000000
##8EA1E41.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA7E7
Deuteranopia (green-blind)
#84A0E2
Tritanopia (blue-blind)
#74AEB9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8ea1e4;
/* rgb */ color: rgb(142, 161, 228);
/* oklch */ color: oklch(72.0% 0.100 271.6);
Tailwind
colors: {
  custom: {
    50: '#b2bcec',
    500: '#8ea1e4',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1e4;
$custom-light: #b2bcec;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1e4",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 228
  },
  "hsl": {
    "h": 226.744,
    "s": 61.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72026,
    "c": 0.1003,
    "h": 271.6
  },
  "luminance": 0.36842
}

Semantic roles & 50–950 ramp

primary
#8EA1E4
secondary
#F0ECDB
accent
#A31CC9
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8EA1E4

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

Preview Lab → · Contrast checker → · Palette generator →

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