#8EA1F6#8EA1F6

#8EA1F6 is a light, vivid blue. Relative luminance 0.379; OKLCH L 72.9% C 0.125 H 273.3°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8EA1F6
RGBrgb(142, 161, 246)
HSLhsl(229, 85%, 76%)
HSVhsv(229, 42%, 96%)
CMYKcmyk(42.3%, 34.6%, 0%, 3.5%)
CIE-LABlab(67.94, 14.53, -44.59)
CIE-LCHlch(67.94, 46.90, 288.04°)
OKLaboklab(72.89% 0.0073 -0.1252)
OKLCHoklch(72.89% 0.125 273.3)
XYZxyz(40.5297, 37.8923, 92.3493)
Luminance0.3789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1F6 #F6E38E
analogous
#8ED5F6 #8EA1F6 #AF8EF6
triadic
#8EA1F6 #F68EA1 #A1F68E
tetradic
#8EA1F6 #F68ED5 #F6E38E #8EF6AF
square
#8EA1F6 #F68ED5 #F6E38E #8EF6AF
split-complementary
#8EA1F6 #F6AF8E #D5F68E
monochromatic
#1D43ED #5572F1 #8EA1F6 #C7D0FB #E3E7FD

Accessibility & contrast

On white

2.45
#8EA1F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#8EA1F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1F6
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1F6#FFFFFF#000000##000000
##8EA1F61.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAF9
Deuteranopia (green-blind)
#7AA2F4
Tritanopia (blue-blind)
#6BB2C0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ea1f6;
/* rgb */ color: rgb(142, 161, 246);
/* oklch */ color: oklch(72.9% 0.125 273.3);
Tailwind
colors: {
  custom: {
    50: '#b3bcf9',
    500: '#8ea1f6',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1f6;
$custom-light: #b3bcf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1f6",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 246
  },
  "hsl": {
    "h": 229.038,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7289,
    "c": 0.12542,
    "h": 273.3
  },
  "luminance": 0.37894
}

Semantic roles & 50–950 ramp

primary
#8EA1F6
secondary
#F5EFD6
accent
#B904E2
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8EA1F6

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

Preview Lab → · Contrast checker → · Palette generator →

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