#8EA1F3#8EA1F3

#8EA1F3 is a light, vivid blue. Relative luminance 0.377; OKLCH L 72.7% C 0.121 H 273.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8EA1F3
RGBrgb(142, 161, 243)
HSLhsl(229, 81%, 75%)
HSVhsv(229, 42%, 95%)
CMYKcmyk(41.6%, 33.7%, 0%, 4.7%)
CIE-LABlab(67.81, 13.69, -43.16)
CIE-LCHlch(67.81, 45.28, 287.60°)
OKLaboklab(72.74% 0.0066 -0.1211)
OKLCHoklch(72.74% 0.121 273.1)
XYZxyz(40.0729, 37.7096, 89.9438)
Luminance0.3771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1F3 #F3E08E
analogous
#8ED3F3 #8EA1F3 #AD8EF3
triadic
#8EA1F3 #F38EA1 #A1F38E
tetradic
#8EA1F3 #F38ED3 #F3E08E #8EF3AD
square
#8EA1F3 #F38ED3 #F3E08E #8EF3AD
split-complementary
#8EA1F3 #F3AD8E #D3F38E
monochromatic
#1F45E7 #5773ED #8EA1F3 #C5CFF9 #E3E8FC

Accessibility & contrast

On white

2.46
#8EA1F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#8EA1F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1F3
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1F3#FFFFFF#000000##000000
##8EA1F31.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF6
Deuteranopia (green-blind)
#7CA1F1
Tritanopia (blue-blind)
#6DB2BF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ea1f3;
/* rgb */ color: rgb(142, 161, 243);
/* oklch */ color: oklch(72.7% 0.121 273.1);
Tailwind
colors: {
  custom: {
    50: '#b3bcf7',
    500: '#8ea1f3',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1f3;
$custom-light: #b3bcf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1f3",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 243
  },
  "hsl": {
    "h": 228.713,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72742,
    "c": 0.12126,
    "h": 273.1
  },
  "luminance": 0.37712
}

Semantic roles & 50–950 ramp

primary
#8EA1F3
secondary
#F4EED7
accent
#B508DD
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8EA1F3

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

Preview Lab → · Contrast checker → · Palette generator →

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