#8EA7FB#8EA7FB

#8EA7FB is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.3% C 0.125 H 270.5°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#8EA7FB
RGBrgb(142, 167, 251)
HSLhsl(226, 93%, 77%)
HSVhsv(226, 43%, 98%)
CMYKcmyk(43.4%, 33.5%, 0%, 1.6%)
CIE-LABlab(69.72, 12.51, -44.52)
CIE-LCHlch(69.72, 46.25, 285.69°)
OKLaboklab(74.34% 0.0012 -0.125)
OKLCHoklch(74.34% 0.125 270.5)
XYZxyz(42.3812, 40.3510, 96.8034)
Luminance0.4035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA7FB #FBE28E
analogous
#8EDDFB #8EA7FB #AC8EFB
triadic
#8EA7FB #FB8EA7 #A7FB8E
tetradic
#8EA7FB #FB8EDD #FBE28E #8EFBAC
square
#8EA7FB #FB8EDD #FBE28E #8EFBAC
split-complementary
#8EA7FB #FBAC8E #DDFB8E
monochromatic
#184BF7 #5379F9 #8EA7FB #C9D5FD #E1E8FE

Accessibility & contrast

On white

2.32
#8EA7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#8EA7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA7FB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA7FB#FFFFFF#000000##000000
##8EA7FB1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFE
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#68B8C6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8ea7fb;
/* rgb */ color: rgb(142, 167, 251);
/* oklch */ color: oklch(74.3% 0.125 270.5);
Tailwind
colors: {
  custom: {
    50: '#b3c0fd',
    500: '#8ea7fb',
    950: '#000000',
  },
}
SCSS
$custom: #8ea7fb;
$custom-light: #b3c0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea7fb",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 226.239,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74338,
    "c": 0.125,
    "h": 270.5
  },
  "luminance": 0.40353
}

Semantic roles & 50–950 ramp

primary
#8EA7FB
secondary
#F6EFD5
accent
#B100E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8EA7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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