#8EA5F5#8EA5F5

#8EA5F5 is a light, moderate blue. Relative luminance 0.393; OKLCH L 73.6% C 0.119 H 271.0°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8EA5F5
RGBrgb(142, 165, 245)
HSLhsl(227, 84%, 76%)
HSVhsv(227, 42%, 96%)
CMYKcmyk(42%, 32.7%, 0%, 3.9%)
CIE-LABlab(68.93, 11.97, -42.49)
CIE-LCHlch(68.93, 44.14, 285.73°)
OKLaboklab(73.64% 0.0021 -0.1191)
OKLCHoklch(73.64% 0.119 271)
XYZxyz(41.0868, 39.2515, 91.7799)
Luminance0.3925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA5F5 #F5DE8E
analogous
#8ED8F5 #8EA5F5 #AA8EF5
triadic
#8EA5F5 #F58EA5 #A5F58E
tetradic
#8EA5F5 #F58ED8 #F5DE8E #8EF5AA
square
#8EA5F5 #F58ED8 #F5DE8E #8EF5AA
split-complementary
#8EA5F5 #F5AA8E #D8F58E
monochromatic
#1E4BEB #5678F0 #8EA5F5 #C6D2FA #E3E9FD

Accessibility & contrast

On white

2.37
#8EA5F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#8EA5F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA5F5
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA5F5#FFFFFF#000000##000000
##8EA5F51.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ADF8
Deuteranopia (green-blind)
#80A4F3
Tritanopia (blue-blind)
#6BB5C2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ea5f5;
/* rgb */ color: rgb(142, 165, 245);
/* oklch */ color: oklch(73.6% 0.119 271.0);
Tailwind
colors: {
  custom: {
    50: '#b3bff9',
    500: '#8ea5f5',
    950: '#000000',
  },
}
SCSS
$custom: #8ea5f5;
$custom-light: #b3bff9;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea5f5",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 245
  },
  "hsl": {
    "h": 226.602,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73642,
    "c": 0.11913,
    "h": 271
  },
  "luminance": 0.39254
}

Semantic roles & 50–950 ramp

primary
#8EA5F5
secondary
#F4EED7
accent
#AF05E0
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8EA5F5

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

Preview Lab → · Contrast checker → · Palette generator →

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