#8EA4EC#8EA4EC

#8EA4EC is a light, moderate blue. Relative luminance 0.384; OKLCH L 73.0% C 0.108 H 270.6°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8EA4EC
RGBrgb(142, 164, 236)
HSLhsl(226, 71%, 74%)
HSVhsv(226, 40%, 93%)
CMYKcmyk(39.8%, 30.5%, 0%, 7.5%)
CIE-LABlab(68.28, 10.05, -38.59)
CIE-LCHlch(68.28, 39.88, 284.60°)
OKLaboklab(73.01% 0.0011 -0.1078)
OKLCHoklch(73.01% 0.108 270.6)
XYZxyz(39.5665, 38.3559, 84.6592)
Luminance0.3836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA4EC #ECD68E
analogous
#8ED3EC #8EA4EC #A78EEC
triadic
#8EA4EC #EC8EA4 #A4EC8E
tetradic
#8EA4EC #EC8ED3 #ECD68E #8EECA7
square
#8EA4EC #EC8ED3 #ECD68E #8EECA7
split-complementary
#8EA4EC #ECA78E #D3EC8E
monochromatic
#2550DA #5A7AE3 #8EA4EC #C2CEF5 #E5EAFB

Accessibility & contrast

On white

2.42
#8EA4EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#8EA4EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA4EC
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA4EC#FFFFFF#000000##000000
##8EA4EC1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABEF
Deuteranopia (green-blind)
#83A3EA
Tritanopia (blue-blind)
#70B3BE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ea4ec;
/* rgb */ color: rgb(142, 164, 236);
/* oklch */ color: oklch(73.0% 0.108 270.6);
Tailwind
colors: {
  custom: {
    50: '#b2bef2',
    500: '#8ea4ec',
    950: '#000000',
  },
}
SCSS
$custom: #8ea4ec;
$custom-light: #b2bef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea4ec",
  "rgb": {
    "r": 142,
    "g": 164,
    "b": 236
  },
  "hsl": {
    "h": 225.957,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7301,
    "c": 0.10786,
    "h": 270.6
  },
  "luminance": 0.38358
}

Semantic roles & 50–950 ramp

primary
#8EA4EC
secondary
#F2ECD9
accent
#A612D3
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8EA4EC

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

Preview Lab → · Contrast checker → · Palette generator →

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