#8EA7FF#8EA7FF

#8EA7FF is a light, vivid blue. Relative luminance 0.406; OKLCH L 74.5% C 0.130 H 270.9°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#8EA7FF
RGBrgb(142, 167, 255)
HSLhsl(227, 100%, 78%)
HSVhsv(227, 44%, 100%)
CMYKcmyk(44.3%, 34.5%, 0%, 0%)
CIE-LABlab(69.90, 13.64, -46.41)
CIE-LCHlch(69.90, 48.37, 286.38°)
OKLaboklab(74.54% 0.0021 -0.1305)
OKLCHoklch(74.54% 0.13 270.9)
XYZxyz(43.0184, 40.6058, 100.1593)
Luminance0.4061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA7FF #FFE68E
analogous
#8EDFFF #8EA7FF #AE8EFF
triadic
#8EA7FF #FF8EA7 #A7FF8E
tetradic
#8EA7FF #FF8EDF #FFE68E #8EFFAE
square
#8EA7FF #FF8EDF #FFE68E #8EFFAE
split-complementary
#8EA7FF #FFAE8E #DFFF8E
monochromatic
#1448FF #5177FF #8EA7FF #CBD7FF #E0E7FF

Accessibility & contrast

On white

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

On black

9.12
#8EA7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA7FF
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA7FF#FFFFFF#000000##000000
##8EA7FF1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#7DA6FD
Tritanopia (blue-blind)
#65B9C7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8ea7ff;
/* rgb */ color: rgb(142, 167, 255);
/* oklch */ color: oklch(74.5% 0.130 270.9);
Tailwind
colors: {
  custom: {
    50: '#b4c0ff',
    500: '#8ea7ff',
    950: '#000000',
  },
}
SCSS
$custom: #8ea7ff;
$custom-light: #b4c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea7ff",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 226.726,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74536,
    "c": 0.13049,
    "h": 270.9
  },
  "luminance": 0.40608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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