#8EA1EE#8EA1EE

#8EA1EE is a light, moderate blue. Relative luminance 0.374; OKLCH L 72.5% C 0.114 H 272.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8EA1EE
RGBrgb(142, 161, 238)
HSLhsl(228, 74%, 75%)
HSVhsv(228, 40%, 93%)
CMYKcmyk(40.3%, 32.4%, 0%, 6.7%)
CIE-LABlab(67.58, 12.31, -40.78)
CIE-LCHlch(67.58, 42.59, 286.79°)
OKLaboklab(72.5% 0.0054 -0.1142)
OKLCHoklch(72.5% 0.114 272.7)
XYZxyz(39.3281, 37.4117, 86.0213)
Luminance0.3741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1EE #EEDB8E
analogous
#8ED1EE #8EA1EE #AB8EEE
triadic
#8EA1EE #EE8EA1 #A1EE8E
tetradic
#8EA1EE #EE8ED1 #EEDB8E #8EEEAB
square
#8EA1EE #EE8ED1 #EEDB8E #8EEEAB
split-complementary
#8EA1EE #EEAB8E #D1EE8E
monochromatic
#2448DE #5975E6 #8EA1EE #C3CDF6 #E4E9FB

Accessibility & contrast

On white

2.48
#8EA1EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#8EA1EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1EE
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1EE#FFFFFF#000000##000000
##8EA1EE1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F1
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#6FB0BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ea1ee;
/* rgb */ color: rgb(142, 161, 238);
/* oklch */ color: oklch(72.5% 0.114 272.7);
Tailwind
colors: {
  custom: {
    50: '#b2bcf4',
    500: '#8ea1ee',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1ee;
$custom-light: #b2bcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1ee",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 238
  },
  "hsl": {
    "h": 228.125,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72498,
    "c": 0.11429,
    "h": 272.7
  },
  "luminance": 0.37414
}

Semantic roles & 50–950 ramp

primary
#8EA1EE
secondary
#F3EDD8
accent
#AF10D6
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8EA1EE

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

Preview Lab → · Contrast checker → · Palette generator →

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