#8EA3EC#8EA3EC

#8EA3EC is a light, moderate blue. Relative luminance 0.380; OKLCH L 72.8% C 0.109 H 271.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#8EA3EC
RGBrgb(142, 163, 236)
HSLhsl(227, 71%, 74%)
HSVhsv(227, 40%, 93%)
CMYKcmyk(39.8%, 30.9%, 0%, 7.5%)
CIE-LABlab(68.02, 10.62, -39.00)
CIE-LCHlch(68.02, 40.42, 285.23°)
OKLaboklab(72.81% 0.0023 -0.109)
OKLCHoklch(72.81% 0.109 271.2)
XYZxyz(39.3883, 37.9994, 84.5998)
Luminance0.3800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA3EC #ECD78E
analogous
#8ED2EC #8EA3EC #A88EEC
triadic
#8EA3EC #EC8EA3 #A3EC8E
tetradic
#8EA3EC #EC8ED2 #ECD78E #8EECA8
square
#8EA3EC #EC8ED2 #ECD78E #8EECA8
split-complementary
#8EA3EC #ECA88E #D2EC8E
monochromatic
#254EDA #5A78E3 #8EA3EC #C2CEF5 #E5EAFB

Accessibility & contrast

On white

2.44
#8EA3EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#8EA3EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA3EC
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA3EC#FFFFFF#000000##000000
##8EA3EC1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#70B2BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ea3ec;
/* rgb */ color: rgb(142, 163, 236);
/* oklch */ color: oklch(72.8% 0.109 271.2);
Tailwind
colors: {
  custom: {
    50: '#b2bef2',
    500: '#8ea3ec',
    950: '#000000',
  },
}
SCSS
$custom: #8ea3ec;
$custom-light: #b2bef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea3ec",
  "rgb": {
    "r": 142,
    "g": 163,
    "b": 236
  },
  "hsl": {
    "h": 226.596,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72807,
    "c": 0.10905,
    "h": 271.2
  },
  "luminance": 0.38001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA3EC

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

Preview Lab → · Contrast checker → · Palette generator →

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