#8EA1FB#8EA1FB

#8EA1FB is a light, vivid blue. Relative luminance 0.382; OKLCH L 73.1% C 0.132 H 273.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#8EA1FB
RGBrgb(142, 161, 251)
HSLhsl(230, 93%, 77%)
HSVhsv(230, 43%, 98%)
CMYKcmyk(43.4%, 35.9%, 0%, 1.6%)
CIE-LABlab(68.17, 15.93, -46.95)
CIE-LCHlch(68.17, 49.58, 288.74°)
OKLaboklab(73.14% 0.0084 -0.1321)
OKLCHoklch(73.14% 0.132 273.7)
XYZxyz(41.3074, 38.2034, 96.4455)
Luminance0.3821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1FB #FBE88E
analogous
#8ED8FB #8EA1FB #B28EFB
triadic
#8EA1FB #FB8EA1 #A1FB8E
tetradic
#8EA1FB #FB8ED8 #FBE88E #8EFBB2
square
#8EA1FB #FB8ED8 #FBE88E #8EFBB2
split-complementary
#8EA1FB #FBB28E #D8FB8E
monochromatic
#183FF7 #5370F9 #8EA1FB #C9D2FD #E1E6FE

Accessibility & contrast

On white

2.43
#8EA1FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#8EA1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1FB
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1FB#FFFFFF#000000##000000
##8EA1FB1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#68B3C2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ea1fb;
/* rgb */ color: rgb(142, 161, 251);
/* oklch */ color: oklch(73.1% 0.132 273.7);
Tailwind
colors: {
  custom: {
    50: '#b3bcfd',
    500: '#8ea1fb',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1fb;
$custom-light: #b3bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1fb",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 229.541,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73142,
    "c": 0.13235,
    "h": 273.7
  },
  "luminance": 0.38206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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