#8EA2EC#8EA2EC

#8EA2EC is a light, moderate blue. Relative luminance 0.376; OKLCH L 72.6% C 0.110 H 271.9°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#8EA2EC
RGBrgb(142, 162, 236)
HSLhsl(227, 71%, 74%)
HSVhsv(227, 40%, 93%)
CMYKcmyk(39.8%, 31.4%, 0%, 7.5%)
CIE-LABlab(67.76, 11.19, -39.41)
CIE-LCHlch(67.76, 40.97, 285.85°)
OKLaboklab(72.6% 0.0036 -0.1102)
OKLCHoklch(72.6% 0.11 271.9)
XYZxyz(39.2114, 37.6457, 84.5409)
Luminance0.3765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2EC #ECD88E
analogous
#8ED1EC #8EA2EC #A98EEC
triadic
#8EA2EC #EC8EA2 #A2EC8E
tetradic
#8EA2EC #EC8ED1 #ECD88E #8EECA9
square
#8EA2EC #EC8ED1 #ECD88E #8EECA9
split-complementary
#8EA2EC #ECA98E #D1EC8E
monochromatic
#254CDA #5A77E3 #8EA2EC #C2CDF5 #E5E9FB

Accessibility & contrast

On white

2.46
#8EA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#8EA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2EC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2EC#FFFFFF#000000##000000
##8EA2EC1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EF
Deuteranopia (green-blind)
#81A1EA
Tritanopia (blue-blind)
#70B1BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ea2ec;
/* rgb */ color: rgb(142, 162, 236);
/* oklch */ color: oklch(72.6% 0.110 271.9);
Tailwind
colors: {
  custom: {
    50: '#b2bdf2',
    500: '#8ea2ec',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2ec;
$custom-light: #b2bdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2ec",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 227.234,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72604,
    "c": 0.11027,
    "h": 271.9
  },
  "luminance": 0.37648
}

Semantic roles & 50–950 ramp

primary
#8EA2EC
secondary
#F2EDD9
accent
#AA12D3
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8EA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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