#8EA1DB#8EA1DB

#8EA1DB is a light, moderate blue. Relative luminance 0.364; OKLCH L 71.6% C 0.088 H 270.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8EA1DB
RGBrgb(142, 161, 219)
HSLhsl(225, 52%, 71%)
HSVhsv(225, 35%, 86%)
CMYKcmyk(35.2%, 26.5%, 0%, 14.1%)
CIE-LABlab(66.79, 7.19, -31.57)
CIE-LCHlch(66.79, 32.38, 282.82°)
OKLaboklab(71.62% 0.0002 -0.0877)
OKLCHoklch(71.62% 0.088 270.1)
XYZxyz(36.6826, 36.3535, 72.0882)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1DB #DBC88E
analogous
#8EC7DB #8EA1DB #A18EDB
triadic
#8EA1DB #DB8EA1 #A1DB8E
tetradic
#8EA1DB #DB8EC7 #DBC88E #8EDBA1
square
#8EA1DB #DB8EC7 #DBC88E #8EDBA1
split-complementary
#8EA1DB #DBA18E #C7DB8E
monochromatic
#3A58B5 #607ACC #8EA1DB #BCC8EA #E8ECF8

Accessibility & contrast

On white

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

On black

8.27
#8EA1DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1DB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1DB#FFFFFF#000000##000000
##8EA1DB1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DE
Deuteranopia (green-blind)
#889FDA
Tritanopia (blue-blind)
#77ACB5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8ea1db;
/* rgb */ color: rgb(142, 161, 219);
/* oklch */ color: oklch(71.6% 0.088 270.1);
Tailwind
colors: {
  custom: {
    50: '#b1bce6',
    500: '#8ea1db',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1db;
$custom-light: #b1bce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1db",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 219
  },
  "hsl": {
    "h": 225.195,
    "s": 51.678,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71618,
    "c": 0.08768,
    "h": 270.1
  },
  "luminance": 0.36355
}

Semantic roles & 50–950 ramp

primary
#8EA1DB
secondary
#EDE8D8
accent
#9926BF
background
#FBFBFE
surface
#F6F6FC
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8EA1DB

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

Preview Lab → · Contrast checker → · Palette generator →

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