#8EA2E7#8EA2E7

#8EA2E7 is a light, moderate blue. Relative luminance 0.374; OKLCH L 72.4% C 0.103 H 271.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8EA2E7
RGBrgb(142, 162, 231)
HSLhsl(227, 65%, 73%)
HSVhsv(227, 39%, 91%)
CMYKcmyk(38.5%, 29.9%, 0%, 9.4%)
CIE-LABlab(67.55, 9.82, -37.00)
CIE-LCHlch(67.55, 38.28, 284.87°)
OKLaboklab(72.37% 0.0023 -0.1033)
OKLCHoklch(72.37% 0.103 271.3)
XYZxyz(38.4951, 37.3592, 80.7685)
Luminance0.3736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2E7 #E7D38E
analogous
#8ECEE7 #8EA2E7 #A68EE7
triadic
#8EA2E7 #E78EA2 #A2E78E
tetradic
#8EA2E7 #E78ECE #E7D38E #8EE7A6
square
#8EA2E7 #E78ECE #E7D38E #8EE7A6
split-complementary
#8EA2E7 #E7A68E #CEE78E
monochromatic
#2C50CF #5C78DC #8EA2E7 #C0CCF2 #E6EAFA

Accessibility & contrast

On white

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

On black

8.47
#8EA2E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2E7
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2E7#FFFFFF#000000##000000
##8EA2E71.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA9EA
Deuteranopia (green-blind)
#83A1E5
Tritanopia (blue-blind)
#72B0BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ea2e7;
/* rgb */ color: rgb(142, 162, 231);
/* oklch */ color: oklch(72.4% 0.103 271.3);
Tailwind
colors: {
  custom: {
    50: '#b2bdef',
    500: '#8ea2e7',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2e7;
$custom-light: #b2bdef;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2e7",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 231
  },
  "hsl": {
    "h": 226.517,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72369,
    "c": 0.10329,
    "h": 271.3
  },
  "luminance": 0.37361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA2E7

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

Preview Lab → · Contrast checker → · Palette generator →

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