#8EA2E5#8EA2E5

#8EA2E5 is a light, moderate blue. Relative luminance 0.372; OKLCH L 72.3% C 0.100 H 271.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8EA2E5
RGBrgb(142, 162, 229)
HSLhsl(226, 63%, 73%)
HSVhsv(226, 38%, 90%)
CMYKcmyk(38%, 29.3%, 0%, 10.2%)
CIE-LABlab(67.46, 9.28, -36.03)
CIE-LCHlch(67.46, 37.21, 284.45°)
OKLaboklab(72.28% 0.0017 -0.1005)
OKLCHoklch(72.28% 0.1 271)
XYZxyz(38.2143, 37.2469, 79.2894)
Luminance0.3725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2E5 #E5D18E
analogous
#8ECDE5 #8EA2E5 #A58EE5
triadic
#8EA2E5 #E58EA2 #A2E58E
tetradic
#8EA2E5 #E58ECD #E5D18E #8EE5A5
square
#8EA2E5 #E58ECD #E5D18E #8EE5A5
split-complementary
#8EA2E5 #E5A58E #CDE58E
monochromatic
#2F52CA #5C79DA #8EA2E5 #C0CBF0 #E6EBF9

Accessibility & contrast

On white

2.49
#8EA2E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#8EA2E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2E5
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2E5#FFFFFF#000000##000000
##8EA2E51.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA8E8
Deuteranopia (green-blind)
#84A1E3
Tritanopia (blue-blind)
#73AFBA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ea2e5;
/* rgb */ color: rgb(142, 162, 229);
/* oklch */ color: oklch(72.3% 0.100 271.0);
Tailwind
colors: {
  custom: {
    50: '#b2bded',
    500: '#8ea2e5',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2e5;
$custom-light: #b2bded;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2e5",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 229
  },
  "hsl": {
    "h": 226.207,
    "s": 62.59,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72276,
    "c": 0.10049,
    "h": 271
  },
  "luminance": 0.37249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA2E5

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

Preview Lab → · Contrast checker → · Palette generator →

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