#8EA1F2#8EA1F2

#8EA1F2 is a light, moderate blue. Relative luminance 0.377; OKLCH L 72.7% C 0.120 H 273.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#8EA1F2
RGBrgb(142, 161, 242)
HSLhsl(229, 79%, 75%)
HSVhsv(229, 41%, 95%)
CMYKcmyk(41.3%, 33.5%, 0%, 5.1%)
CIE-LABlab(67.76, 13.41, -42.69)
CIE-LCHlch(67.76, 44.75, 287.44°)
OKLaboklab(72.69% 0.0064 -0.1197)
OKLCHoklch(72.69% 0.12 273)
XYZxyz(39.9223, 37.6494, 89.1507)
Luminance0.3765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1F2 #F2DF8E
analogous
#8ED3F2 #8EA1F2 #AD8EF2
triadic
#8EA1F2 #F28EA1 #A1F28E
tetradic
#8EA1F2 #F28ED3 #F2DF8E #8EF2AD
square
#8EA1F2 #F28ED3 #F2DF8E #8EF2AD
split-complementary
#8EA1F2 #F2AD8E #D3F28E
monochromatic
#2046E5 #5773EC #8EA1F2 #C5CFF8 #E4E8FC

Accessibility & contrast

On white

2.46
#8EA1F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#8EA1F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1F2
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1F2#FFFFFF#000000##000000
##8EA1F21.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A9F5
Deuteranopia (green-blind)
#7DA1F0
Tritanopia (blue-blind)
#6DB1BE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ea1f2;
/* rgb */ color: rgb(142, 161, 242);
/* oklch */ color: oklch(72.7% 0.120 273.0);
Tailwind
colors: {
  custom: {
    50: '#b3bcf6',
    500: '#8ea1f2',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1f2;
$custom-light: #b3bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1f2",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 242
  },
  "hsl": {
    "h": 228.6,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72692,
    "c": 0.11987,
    "h": 273
  },
  "luminance": 0.37651
}

Semantic roles & 50–950 ramp

primary
#8EA1F2
secondary
#F4EED7
accent
#B40ADC
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111217
muted
#808185

Preview Lab

Preview with #8EA1F2

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

Preview Lab → · Contrast checker → · Palette generator →

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