#8EA8FD#8EA8FD

#8EA8FD is a light, vivid blue. Relative luminance 0.408; OKLCH L 74.6% C 0.127 H 270.2°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#8EA8FD
RGBrgb(142, 168, 253)
HSLhsl(226, 97%, 77%)
HSVhsv(226, 44%, 99%)
CMYKcmyk(43.9%, 33.6%, 0%, 0.8%)
CIE-LABlab(70.07, 12.50, -45.06)
CIE-LCHlch(70.07, 46.76, 285.51°)
OKLaboklab(74.64% 0.0004 -0.1265)
OKLCHoklch(74.64% 0.127 270.2)
XYZxyz(42.8820, 40.8455, 98.5339)
Luminance0.4085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA8FD #FDE38E
analogous
#8EDFFD #8EA8FD #AC8EFD
triadic
#8EA8FD #FD8EA8 #A8FD8E
tetradic
#8EA8FD #FD8EDF #FDE38E #8EFDAC
square
#8EA8FD #FD8EDF #FDE38E #8EFDAC
split-complementary
#8EA8FD #FDAC8E #DFFD8E
monochromatic
#164BFB #527AFC #8EA8FD #CAD6FE #E1E8FE

Accessibility & contrast

On white

2.29
#8EA8FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#8EA8FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA8FD
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA8FD#FFFFFF#000000##000000
##8EA8FD1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#66BAC7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8ea8fd;
/* rgb */ color: rgb(142, 168, 253);
/* oklch */ color: oklch(74.6% 0.127 270.2);
Tailwind
colors: {
  custom: {
    50: '#b3c1fe',
    500: '#8ea8fd',
    950: '#000000',
  },
}
SCSS
$custom: #8ea8fd;
$custom-light: #b3c1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea8fd",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 253
  },
  "hsl": {
    "h": 225.946,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74637,
    "c": 0.12655,
    "h": 270.2
  },
  "luminance": 0.40848
}

Semantic roles & 50–950 ramp

primary
#8EA8FD
secondary
#F7EFD4
accent
#B000E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8EA8FD

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

Preview Lab → · Contrast checker → · Palette generator →

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