#8EA2EA#8EA2EA

#8EA2EA is a light, moderate blue. Relative luminance 0.375; OKLCH L 72.5% C 0.107 H 271.6°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8EA2EA
RGBrgb(142, 162, 234)
HSLhsl(227, 69%, 74%)
HSVhsv(227, 39%, 92%)
CMYKcmyk(39.3%, 30.8%, 0%, 8.2%)
CIE-LABlab(67.67, 10.64, -38.45)
CIE-LCHlch(67.67, 39.89, 285.47°)
OKLaboklab(72.51% 0.0031 -0.1074)
OKLCHoklch(72.51% 0.107 271.6)
XYZxyz(38.9225, 37.5301, 83.0191)
Luminance0.3753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2EA #EAD68E
analogous
#8ED0EA #8EA2EA #A88EEA
triadic
#8EA2EA #EA8EA2 #A2EA8E
tetradic
#8EA2EA #EA8ED0 #EAD68E #8EEAA8
square
#8EA2EA #EA8ED0 #EAD68E #8EEAA8
split-complementary
#8EA2EA #EAA88E #D0EA8E
monochromatic
#284ED6 #5A78E0 #8EA2EA #C2CCF4 #E5EAFA

Accessibility & contrast

On white

2.47
#8EA2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#8EA2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2EA
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2EA#FFFFFF#000000##000000
##8EA2EA1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA9ED
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#71B0BC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ea2ea;
/* rgb */ color: rgb(142, 162, 234);
/* oklch */ color: oklch(72.5% 0.107 271.6);
Tailwind
colors: {
  custom: {
    50: '#b2bdf1',
    500: '#8ea2ea',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2ea;
$custom-light: #b2bdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2ea",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 226.957,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72509,
    "c": 0.10748,
    "h": 271.6
  },
  "luminance": 0.37532
}

Semantic roles & 50–950 ramp

primary
#8EA2EA
secondary
#F2ECD9
accent
#A815D1
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8EA2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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