#8EA2E8#8EA2E8

#8EA2E8 is a light, moderate blue. Relative luminance 0.374; OKLCH L 72.4% C 0.105 H 271.4°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8EA2E8
RGBrgb(142, 162, 232)
HSLhsl(227, 66%, 73%)
HSVhsv(227, 39%, 91%)
CMYKcmyk(38.8%, 30.2%, 0%, 9%)
CIE-LABlab(67.59, 10.10, -37.49)
CIE-LCHlch(67.59, 38.82, 285.07°)
OKLaboklab(72.41% 0.0025 -0.1047)
OKLCHoklch(72.41% 0.105 271.4)
XYZxyz(38.6368, 37.4159, 81.5145)
Luminance0.3742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2E8 #E8D48E
analogous
#8ECFE8 #8EA2E8 #A78EE8
triadic
#8EA2E8 #E88EA2 #A2E88E
tetradic
#8EA2E8 #E88ECF #E8D48E #8EE8A7
square
#8EA2E8 #E88ECF #E8D48E #8EE8A7
split-complementary
#8EA2E8 #E8A78E #CFE88E
monochromatic
#2B50D1 #5B78DE #8EA2E8 #C1CCF2 #E6EAFA

Accessibility & contrast

On white

2.48
#8EA2E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#8EA2E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2E8
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2E8#FFFFFF#000000##000000
##8EA2E81.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA9EB
Deuteranopia (green-blind)
#83A1E6
Tritanopia (blue-blind)
#72B0BB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ea2e8;
/* rgb */ color: rgb(142, 162, 232);
/* oklch */ color: oklch(72.4% 0.105 271.4);
Tailwind
colors: {
  custom: {
    50: '#b2bdef',
    500: '#8ea2e8',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2e8;
$custom-light: #b2bdef;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2e8",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 232
  },
  "hsl": {
    "h": 226.667,
    "s": 66.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72415,
    "c": 0.10469,
    "h": 271.4
  },
  "luminance": 0.37418
}

Semantic roles & 50–950 ramp

primary
#8EA2E8
secondary
#F1ECDA
accent
#A517CE
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8EA2E8

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

Preview Lab → · Contrast checker → · Palette generator →

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