#8EA5FB#8EA5FB

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

Color values

HEX#8EA5FB
RGBrgb(142, 165, 251)
HSLhsl(227, 93%, 77%)
HSVhsv(227, 43%, 98%)
CMYKcmyk(43.4%, 34.3%, 0%, 1.6%)
CIE-LABlab(69.20, 13.65, -45.33)
CIE-LCHlch(69.20, 47.34, 286.75°)
OKLaboklab(73.94% 0.0036 -0.1274)
OKLCHoklch(73.94% 0.127 271.6)
XYZxyz(42.0176, 39.6238, 96.6823)
Luminance0.3963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA5FB #FBE48E
analogous
#8EDCFB #8EA5FB #AD8EFB
triadic
#8EA5FB #FB8EA5 #A5FB8E
tetradic
#8EA5FB #FB8EDC #FBE48E #8EFBAD
square
#8EA5FB #FB8EDC #FBE48E #8EFBAD
split-complementary
#8EA5FB #FBAD8E #DCFB8E
monochromatic
#1847F7 #5376F9 #8EA5FB #C9D4FD #E1E7FE

Accessibility & contrast

On white

2.35
#8EA5FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#8EA5FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA5FB
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA5FB#FFFFFF#000000##000000
##8EA5FB1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#7CA5F9
Tritanopia (blue-blind)
#68B7C4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ea5fb;
/* rgb */ color: rgb(142, 165, 251);
/* oklch */ color: oklch(73.9% 0.127 271.6);
Tailwind
colors: {
  custom: {
    50: '#b3bffd',
    500: '#8ea5fb',
    950: '#000000',
  },
}
SCSS
$custom: #8ea5fb;
$custom-light: #b3bffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea5fb",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 251
  },
  "hsl": {
    "h": 227.339,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73937,
    "c": 0.12741,
    "h": 271.6
  },
  "luminance": 0.39626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA5FB

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

Preview Lab → · Contrast checker → · Palette generator →

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