#8EA7FC#8EA7FC

#8EA7FC is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.4% C 0.126 H 270.6°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#8EA7FC
RGBrgb(142, 167, 252)
HSLhsl(226, 95%, 77%)
HSVhsv(226, 44%, 99%)
CMYKcmyk(43.7%, 33.7%, 0%, 1.2%)
CIE-LABlab(69.76, 12.79, -44.99)
CIE-LCHlch(69.76, 46.78, 285.87°)
OKLaboklab(74.39% 0.0014 -0.1264)
OKLCHoklch(74.39% 0.126 270.6)
XYZxyz(42.5393, 40.4142, 97.6358)
Luminance0.4042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA7FC #FCE38E
analogous
#8EDEFC #8EA7FC #AC8EFC
triadic
#8EA7FC #FC8EA7 #A7FC8E
tetradic
#8EA7FC #FC8EDE #FCE38E #8EFCAC
square
#8EA7FC #FC8EDE #FCE38E #8EFCAC
split-complementary
#8EA7FC #FCAC8E #DEFC8E
monochromatic
#174AF9 #5279FA #8EA7FC #CAD5FE #E1E8FE

Accessibility & contrast

On white

2.31
#8EA7FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#8EA7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA7FC
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA7FC#FFFFFF#000000##000000
##8EA7FC1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFF
Deuteranopia (green-blind)
#7EA6FA
Tritanopia (blue-blind)
#67B8C6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8ea7fc;
/* rgb */ color: rgb(142, 167, 252);
/* oklch */ color: oklch(74.4% 0.126 270.6);
Tailwind
colors: {
  custom: {
    50: '#b3c0fd',
    500: '#8ea7fc',
    950: '#000000',
  },
}
SCSS
$custom: #8ea7fc;
$custom-light: #b3c0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea7fc",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 226.364,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74387,
    "c": 0.12637,
    "h": 270.6
  },
  "luminance": 0.40416
}

Semantic roles & 50–950 ramp

primary
#8EA7FC
secondary
#F6EFD5
accent
#B100E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8EA7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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