#8EA7DD#8EA7DD

#8EA7DD is a light, moderate blue. Relative luminance 0.386; OKLCH L 73.0% C 0.084 H 265.2°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8EA7DD
RGBrgb(142, 167, 221)
HSLhsl(221, 54%, 71%)
HSVhsv(221, 36%, 87%)
CMYKcmyk(35.7%, 24.4%, 0%, 13.3%)
CIE-LABlab(68.47, 4.34, -30.08)
CIE-LCHlch(68.47, 30.40, 278.20°)
OKLaboklab(72.95% -0.0071 -0.0834)
OKLCHoklch(72.95% 0.084 265.2)
XYZxyz(38.0213, 38.6070, 73.8411)
Luminance0.3861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA7DD #DDC48E
analogous
#8ECEDD #8EA7DD #9C8EDD
triadic
#8EA7DD #DD8EA7 #A7DD8E
tetradic
#8EA7DD #DD8ECE #DDC48E #8EDD9C
square
#8EA7DD #DD8ECE #DDC48E #8EDD9C
split-complementary
#8EA7DD #DD9C8E #CEDD8E
monochromatic
#3861B9 #5F82CF #8EA7DD #BDCCEB #E7EDF8

Accessibility & contrast

On white

2.41
#8EA7DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#8EA7DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA7DD
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA7DD#FFFFFF#000000##000000
##8EA7DD1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABDF
Deuteranopia (green-blind)
#8DA4DC
Tritanopia (blue-blind)
#76B2BA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ea7dd;
/* rgb */ color: rgb(142, 167, 221);
/* oklch */ color: oklch(73.0% 0.084 265.2);
Tailwind
colors: {
  custom: {
    50: '#b1c1e7',
    500: '#8ea7dd',
    950: '#000000',
  },
}
SCSS
$custom: #8ea7dd;
$custom-light: #b1c1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea7dd",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 221
  },
  "hsl": {
    "h": 221.013,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72951,
    "c": 0.08373,
    "h": 265.2
  },
  "luminance": 0.38609
}

Semantic roles & 50–950 ramp

primary
#8EA7DD
secondary
#EEE7D9
accent
#9024C1
background
#FBFBFE
surface
#F6F7FC
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8EA7DD

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

Preview Lab → · Contrast checker → · Palette generator →

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