#8EA5EC#8EA5EC

#8EA5EC is a light, moderate blue. Relative luminance 0.387; OKLCH L 73.2% C 0.107 H 269.9°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8EA5EC
RGBrgb(142, 165, 236)
HSLhsl(225, 71%, 74%)
HSVhsv(225, 40%, 93%)
CMYKcmyk(39.8%, 30.1%, 0%, 7.5%)
CIE-LABlab(68.54, 9.48, -38.19)
CIE-LCHlch(68.54, 39.35, 283.95°)
OKLaboklab(73.21% -0.0002 -0.1067)
OKLCHoklch(73.21% 0.107 269.9)
XYZxyz(39.7462, 38.7153, 84.7191)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA5EC #ECD58E
analogous
#8ED4EC #8EA5EC #A68EEC
triadic
#8EA5EC #EC8EA5 #A5EC8E
tetradic
#8EA5EC #EC8ED4 #ECD58E #8EECA6
square
#8EA5EC #EC8ED4 #ECD58E #8EECA6
split-complementary
#8EA5EC #ECA68E #D4EC8E
monochromatic
#2552DA #5A7BE3 #8EA5EC #C2CFF5 #E5EAFB

Accessibility & contrast

On white

2.40
#8EA5EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#8EA5EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA5EC
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA5EC#FFFFFF#000000##000000
##8EA5EC1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACEF
Deuteranopia (green-blind)
#84A3EA
Tritanopia (blue-blind)
#70B3BE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ea5ec;
/* rgb */ color: rgb(142, 165, 236);
/* oklch */ color: oklch(73.2% 0.107 269.9);
Tailwind
colors: {
  custom: {
    50: '#b2bff2',
    500: '#8ea5ec',
    950: '#000000',
  },
}
SCSS
$custom: #8ea5ec;
$custom-light: #b2bff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea5ec",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 236
  },
  "hsl": {
    "h": 225.319,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73213,
    "c": 0.10667,
    "h": 269.9
  },
  "luminance": 0.38717
}

Semantic roles & 50–950 ramp

primary
#8EA5EC
secondary
#F2ECD9
accent
#A412D3
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8EA5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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