#8EA8FB#8EA8FB

#8EA8FB is a light, vivid blue. Relative luminance 0.407; OKLCH L 74.5% C 0.124 H 270.0°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#8EA8FB
RGBrgb(142, 168, 251)
HSLhsl(226, 93%, 77%)
HSVhsv(226, 43%, 98%)
CMYKcmyk(43.4%, 33.1%, 0%, 1.6%)
CIE-LABlab(69.98, 11.94, -44.11)
CIE-LCHlch(69.98, 45.70, 285.15°)
OKLaboklab(74.54% -0.0001 -0.1238)
OKLCHoklch(74.54% 0.124 270)
XYZxyz(42.5651, 40.7188, 96.8647)
Luminance0.4072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA8FB #FBE18E
analogous
#8EDFFB #8EA8FB #AB8EFB
triadic
#8EA8FB #FB8EA8 #A8FB8E
tetradic
#8EA8FB #FB8EDF #FBE18E #8EFBAB
square
#8EA8FB #FB8EDF #FBE18E #8EFBAB
split-complementary
#8EA8FB #FBAB8E #DFFB8E
monochromatic
#184DF7 #537AF9 #8EA8FB #C9D6FD #E1E8FE

Accessibility & contrast

On white

2.30
#8EA8FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#8EA8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA8FB
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA8FB#FFFFFF#000000##000000
##8EA8FB1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FE
Deuteranopia (green-blind)
#80A7F9
Tritanopia (blue-blind)
#68B9C6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8ea8fb;
/* rgb */ color: rgb(142, 168, 251);
/* oklch */ color: oklch(74.5% 0.124 270.0);
Tailwind
colors: {
  custom: {
    50: '#b3c1fd',
    500: '#8ea8fb',
    950: '#000000',
  },
}
SCSS
$custom: #8ea8fb;
$custom-light: #b3c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea8fb",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 251
  },
  "hsl": {
    "h": 225.688,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74539,
    "c": 0.12381,
    "h": 270
  },
  "luminance": 0.40721
}

Semantic roles & 50–950 ramp

primary
#8EA8FB
secondary
#F6EED5
accent
#AF00E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8EA8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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