#8EA2F4#8EA2F4

#8EA2F4 is a light, vivid blue. Relative luminance 0.381; OKLCH L 73.0% C 0.121 H 272.6°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8EA2F4
RGBrgb(142, 162, 244)
HSLhsl(228, 82%, 76%)
HSVhsv(228, 42%, 96%)
CMYKcmyk(41.8%, 33.6%, 0%, 4.3%)
CIE-LABlab(68.11, 13.40, -43.23)
CIE-LCHlch(68.11, 45.26, 287.22°)
OKLaboklab(72.99% 0.0056 -0.1213)
OKLCHoklch(72.99% 0.121 272.6)
XYZxyz(40.3998, 38.1211, 90.7998)
Luminance0.3812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2F4 #F4E08E
analogous
#8ED5F4 #8EA2F4 #AD8EF4
triadic
#8EA2F4 #F48EA2 #A2F48E
tetradic
#8EA2F4 #F48ED5 #F4E08E #8EF4AD
square
#8EA2F4 #F48ED5 #F4E08E #8EF4AD
split-complementary
#8EA2F4 #F4AD8E #D5F48E
monochromatic
#1E46E9 #5674EF #8EA2F4 #C6D0F9 #E3E8FC

Accessibility & contrast

On white

2.43
#8EA2F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#8EA2F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2F4
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2F4#FFFFFF#000000##000000
##8EA2F41.002.438.628.62
#FFFFFF2.431.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ABF7
Deuteranopia (green-blind)
#7DA2F2
Tritanopia (blue-blind)
#6CB3C0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ea2f4;
/* rgb */ color: rgb(142, 162, 244);
/* oklch */ color: oklch(73.0% 0.121 272.6);
Tailwind
colors: {
  custom: {
    50: '#b3bdf8',
    500: '#8ea2f4',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2f4;
$custom-light: #b3bdf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2f4",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 244
  },
  "hsl": {
    "h": 228.235,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72991,
    "c": 0.12141,
    "h": 272.6
  },
  "luminance": 0.38123
}

Semantic roles & 50–950 ramp

primary
#8EA2F4
secondary
#F4EED7
accent
#B407DF
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8EA2F4

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

Preview Lab → · Contrast checker → · Palette generator →

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