#8EA1EF#8EA1EF

#8EA1EF is a light, moderate blue. Relative luminance 0.375; OKLCH L 72.5% C 0.116 H 272.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8EA1EF
RGBrgb(142, 161, 239)
HSLhsl(228, 75%, 75%)
HSVhsv(228, 41%, 94%)
CMYKcmyk(40.6%, 32.6%, 0%, 6.3%)
CIE-LABlab(67.63, 12.58, -41.26)
CIE-LCHlch(67.63, 43.13, 286.96°)
OKLaboklab(72.55% 0.0056 -0.1155)
OKLCHoklch(72.55% 0.116 272.8)
XYZxyz(39.4755, 37.4706, 86.7972)
Luminance0.3747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1EF #EFDC8E
analogous
#8ED2EF #8EA1EF #AB8EEF
triadic
#8EA1EF #EF8EA1 #A1EF8E
tetradic
#8EA1EF #EF8ED2 #EFDC8E #8EEFAB
square
#8EA1EF #EF8ED2 #EFDC8E #8EEFAB
split-complementary
#8EA1EF #EFAB8E #D2EF8E
monochromatic
#2348E0 #5874E7 #8EA1EF #C4CEF7 #E4E9FB

Accessibility & contrast

On white

2.47
#8EA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#8EA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1EF
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1EF#FFFFFF#000000##000000
##8EA1EF1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#7EA1ED
Tritanopia (blue-blind)
#6FB1BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ea1ef;
/* rgb */ color: rgb(142, 161, 239);
/* oklch */ color: oklch(72.5% 0.116 272.8);
Tailwind
colors: {
  custom: {
    50: '#b2bcf4',
    500: '#8ea1ef',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1ef;
$custom-light: #b2bcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1ef",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 228.247,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72546,
    "c": 0.11569,
    "h": 272.8
  },
  "luminance": 0.37473
}

Semantic roles & 50–950 ramp

primary
#8EA1EF
secondary
#F3EED8
accent
#B00ED7
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8EA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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