#8EA5FA#8EA5FA

#8EA5FA is a light, vivid blue. Relative luminance 0.396; OKLCH L 73.9% C 0.126 H 271.5°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#8EA5FA
RGBrgb(142, 165, 250)
HSLhsl(227, 92%, 77%)
HSVhsv(227, 43%, 98%)
CMYKcmyk(43.2%, 34%, 0%, 2%)
CIE-LABlab(69.16, 13.37, -44.86)
CIE-LCHlch(69.16, 46.81, 286.59°)
OKLaboklab(73.89% 0.0033 -0.126)
OKLCHoklch(73.89% 0.126 271.5)
XYZxyz(41.8604, 39.5610, 95.8543)
Luminance0.3956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA5FA #FAE38E
analogous
#8EDBFA #8EA5FA #AD8EFA
triadic
#8EA5FA #FA8EA5 #A5FA8E
tetradic
#8EA5FA #FA8EDB #FAE38E #8EFAAD
square
#8EA5FA #FA8EDB #FAE38E #8EFAAD
split-complementary
#8EA5FA #FAAD8E #DBFA8E
monochromatic
#1948F5 #5376F7 #8EA5FA #C9D4FD #E2E8FE

Accessibility & contrast

On white

2.36
#8EA5FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#8EA5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA5FA
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA5FA#FFFFFF#000000##000000
##8EA5FA1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFD
Deuteranopia (green-blind)
#7DA5F8
Tritanopia (blue-blind)
#68B6C4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ea5fa;
/* rgb */ color: rgb(142, 165, 250);
/* oklch */ color: oklch(73.9% 0.126 271.5);
Tailwind
colors: {
  custom: {
    50: '#b3bffc',
    500: '#8ea5fa',
    950: '#000000',
  },
}
SCSS
$custom: #8ea5fa;
$custom-light: #b3bffc;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea5fa",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 227.222,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73888,
    "c": 0.12603,
    "h": 271.5
  },
  "luminance": 0.39563
}

Semantic roles & 50–950 ramp

primary
#8EA5FA
secondary
#F6EFD5
accent
#B500E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8EA5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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