#8EA2F1#8EA2F1

#8EA2F1 is a light, moderate blue. Relative luminance 0.379; OKLCH L 72.8% C 0.117 H 272.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8EA2F1
RGBrgb(142, 162, 241)
HSLhsl(228, 78%, 75%)
HSVhsv(228, 41%, 95%)
CMYKcmyk(41.1%, 32.8%, 0%, 5.5%)
CIE-LABlab(67.98, 12.56, -41.81)
CIE-LCHlch(67.98, 43.65, 286.73°)
OKLaboklab(72.84% 0.0049 -0.1171)
OKLCHoklch(72.84% 0.117 272.4)
XYZxyz(39.9480, 37.9404, 88.4203)
Luminance0.3794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2F1 #F1DD8E
analogous
#8ED3F1 #8EA2F1 #AC8EF1
triadic
#8EA2F1 #F18EA2 #A2F18E
tetradic
#8EA2F1 #F18ED3 #F1DD8E #8EF1AC
square
#8EA2F1 #F18ED3 #F1DD8E #8EF1AC
split-complementary
#8EA2F1 #F1AC8E #D3F18E
monochromatic
#2148E4 #5875EA #8EA2F1 #C4CFF8 #E4E9FC

Accessibility & contrast

On white

2.45
#8EA2F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#8EA2F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2F1
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2F1#FFFFFF#000000##000000
##8EA2F11.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AAF4
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#6EB2BF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ea2f1;
/* rgb */ color: rgb(142, 162, 241);
/* oklch */ color: oklch(72.8% 0.117 272.4);
Tailwind
colors: {
  custom: {
    50: '#b3bdf6',
    500: '#8ea2f1',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2f1;
$custom-light: #b3bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2f1",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 241
  },
  "hsl": {
    "h": 227.879,
    "s": 77.953,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72844,
    "c": 0.11724,
    "h": 272.4
  },
  "luminance": 0.37942
}

Semantic roles & 50–950 ramp

primary
#8EA2F1
secondary
#F3EED8
accent
#B00BDA
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111217
muted
#808185

Preview Lab

Preview with #8EA2F1

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

Preview Lab → · Contrast checker → · Palette generator →

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