#8EA2FB#8EA2FB

#8EA2FB is a light, vivid blue. Relative luminance 0.386; OKLCH L 73.3% C 0.131 H 273.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8EA2FB
RGBrgb(142, 162, 251)
HSLhsl(229, 93%, 77%)
HSVhsv(229, 43%, 98%)
CMYKcmyk(43.4%, 35.5%, 0%, 1.6%)
CIE-LABlab(68.43, 15.36, -46.55)
CIE-LCHlch(68.43, 49.02, 288.26°)
OKLaboklab(73.34% 0.0072 -0.1309)
OKLCHoklch(73.34% 0.131 273.2)
XYZxyz(41.4829, 38.5543, 96.5040)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2FB #FBE78E
analogous
#8ED8FB #8EA2FB #B18EFB
triadic
#8EA2FB #FB8EA2 #A2FB8E
tetradic
#8EA2FB #FB8ED8 #FBE78E #8EFBB1
square
#8EA2FB #FB8ED8 #FBE78E #8EFBB1
split-complementary
#8EA2FB #FBB18E #D8FB8E
monochromatic
#1841F7 #5371F9 #8EA2FB #C9D3FD #E1E7FE

Accessibility & contrast

On white

2.41
#8EA2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#8EA2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2FB
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2FB#FFFFFF#000000##000000
##8EA2FB1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#79A3F9
Tritanopia (blue-blind)
#68B4C3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ea2fb;
/* rgb */ color: rgb(142, 162, 251);
/* oklch */ color: oklch(73.3% 0.131 273.2);
Tailwind
colors: {
  custom: {
    50: '#b3bdfd',
    500: '#8ea2fb',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2fb;
$custom-light: #b3bdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2fb",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 228.991,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7334,
    "c": 0.1311,
    "h": 273.2
  },
  "luminance": 0.38556
}

Semantic roles & 50–950 ramp

primary
#8EA2FB
secondary
#F6F0D5
accent
#BB00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8EA2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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