#8EA1DC#8EA1DC

#8EA1DC is a light, moderate blue. Relative luminance 0.364; OKLCH L 71.7% C 0.089 H 270.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8EA1DC
RGBrgb(142, 161, 220)
HSLhsl(225, 53%, 71%)
HSVhsv(225, 35%, 86%)
CMYKcmyk(35.5%, 26.8%, 0%, 13.7%)
CIE-LABlab(66.83, 7.45, -32.06)
CIE-LCHlch(66.83, 32.92, 283.08°)
OKLaboklab(71.66% 0.0005 -0.0891)
OKLCHoklch(71.66% 0.089 270.3)
XYZxyz(36.8147, 36.4063, 72.7836)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1DC #DCC98E
analogous
#8EC8DC #8EA1DC #A28EDC
triadic
#8EA1DC #DC8EA1 #A1DC8E
tetradic
#8EA1DC #DC8EC8 #DCC98E #8EDCA2
square
#8EA1DC #DC8EC8 #DCC98E #8EDCA2
split-complementary
#8EA1DC #DCA28E #C8DC8E
monochromatic
#3957B7 #5F7ACE #8EA1DC #BDC8EA #E8ECF8

Accessibility & contrast

On white

2.54
#8EA1DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#8EA1DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1DC
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1DC#FFFFFF#000000##000000
##8EA1DC1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DF
Deuteranopia (green-blind)
#87A0DB
Tritanopia (blue-blind)
#77ADB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8ea1dc;
/* rgb */ color: rgb(142, 161, 220);
/* oklch */ color: oklch(71.7% 0.089 270.3);
Tailwind
colors: {
  custom: {
    50: '#b1bce7',
    500: '#8ea1dc',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1dc;
$custom-light: #b1bce7;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1dc",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 220
  },
  "hsl": {
    "h": 225.385,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71663,
    "c": 0.08908,
    "h": 270.3
  },
  "luminance": 0.36408
}

Semantic roles & 50–950 ramp

primary
#8EA1DC
secondary
#EDE8D9
accent
#9A25C0
background
#FBFBFE
surface
#F6F6FC
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8EA1DC

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

Preview Lab → · Contrast checker → · Palette generator →

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