#8EA5F7#8EA5F7

#8EA5F7 is a light, vivid blue. Relative luminance 0.394; OKLCH L 73.7% C 0.122 H 271.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8EA5F7
RGBrgb(142, 165, 247)
HSLhsl(227, 87%, 76%)
HSVhsv(227, 43%, 97%)
CMYKcmyk(42.5%, 33.2%, 0%, 3.1%)
CIE-LABlab(69.02, 12.52, -43.44)
CIE-LCHlch(69.02, 45.21, 286.08°)
OKLaboklab(73.74% 0.0026 -0.1219)
OKLCHoklch(73.74% 0.122 271.2)
XYZxyz(41.3938, 39.3743, 93.3965)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA5F7 #F7E08E
analogous
#8EDAF7 #8EA5F7 #AC8EF7
triadic
#8EA5F7 #F78EA5 #A5F78E
tetradic
#8EA5F7 #F78EDA #F7E08E #8EF7AC
square
#8EA5F7 #F78EDA #F7E08E #8EF7AC
split-complementary
#8EA5F7 #F7AC8E #DAF78E
monochromatic
#1C4AEF #5577F3 #8EA5F7 #C7D3FB #E2E8FD

Accessibility & contrast

On white

2.37
#8EA5F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#8EA5F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA5F7
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA5F7#FFFFFF#000000##000000
##8EA5F71.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ADFA
Deuteranopia (green-blind)
#7FA4F5
Tritanopia (blue-blind)
#6AB6C3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ea5f7;
/* rgb */ color: rgb(142, 165, 247);
/* oklch */ color: oklch(73.7% 0.122 271.2);
Tailwind
colors: {
  custom: {
    50: '#b3bffa',
    500: '#8ea5f7',
    950: '#000000',
  },
}
SCSS
$custom: #8ea5f7;
$custom-light: #b3bffa;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea5f7",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 247
  },
  "hsl": {
    "h": 226.857,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7374,
    "c": 0.12189,
    "h": 271.2
  },
  "luminance": 0.39376
}

Semantic roles & 50–950 ramp

primary
#8EA5F7
secondary
#F5EED6
accent
#B202E3
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8EA5F7

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

Preview Lab → · Contrast checker → · Palette generator →

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