#8EA8FC#8EA8FC

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

Color values

HEX#8EA8FC
RGBrgb(142, 168, 252)
HSLhsl(226, 95%, 77%)
HSVhsv(226, 44%, 99%)
CMYKcmyk(43.7%, 33.3%, 0%, 1.2%)
CIE-LABlab(70.02, 12.22, -44.59)
CIE-LCHlch(70.02, 46.23, 285.33°)
OKLaboklab(74.59% 0.0002 -0.1252)
OKLCHoklch(74.59% 0.125 270.1)
XYZxyz(42.7232, 40.7820, 97.6971)
Luminance0.4078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA8FC #FCE28E
analogous
#8EDFFC #8EA8FC #AB8EFC
triadic
#8EA8FC #FC8EA8 #A8FC8E
tetradic
#8EA8FC #FC8EDF #FCE28E #8EFCAB
square
#8EA8FC #FC8EDF #FCE28E #8EFCAB
split-complementary
#8EA8FC #FCAB8E #DFFC8E
monochromatic
#174CF9 #527AFA #8EA8FC #CAD6FE #E1E8FE

Accessibility & contrast

On white

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

On black

9.16
#8EA8FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA8FC
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA8FC#FFFFFF#000000##000000
##8EA8FC1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FF
Deuteranopia (green-blind)
#80A7FA
Tritanopia (blue-blind)
#67B9C6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8ea8fc;
/* rgb */ color: rgb(142, 168, 252);
/* oklch */ color: oklch(74.6% 0.125 270.1);
Tailwind
colors: {
  custom: {
    50: '#b3c1fd',
    500: '#8ea8fc',
    950: '#000000',
  },
}
SCSS
$custom: #8ea8fc;
$custom-light: #b3c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea8fc",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 252
  },
  "hsl": {
    "h": 225.818,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74588,
    "c": 0.12518,
    "h": 270.1
  },
  "luminance": 0.40784
}

Semantic roles & 50–950 ramp

primary
#8EA8FC
secondary
#F6EED5
accent
#AF00E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8EA8FC

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

Preview Lab → · Contrast checker → · Palette generator →

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