#8EA7DC#8EA7DC

#8EA7DC is a light, moderate blue. Relative luminance 0.386; OKLCH L 72.9% C 0.082 H 264.9°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8EA7DC
RGBrgb(142, 167, 220)
HSLhsl(221, 53%, 71%)
HSVhsv(221, 35%, 86%)
CMYKcmyk(35.5%, 24.1%, 0%, 13.7%)
CIE-LABlab(68.43, 4.07, -29.59)
CIE-LCHlch(68.43, 29.87, 277.84°)
OKLaboklab(72.91% -0.0074 -0.082)
OKLCHoklch(72.91% 0.082 264.9)
XYZxyz(37.8884, 38.5539, 73.1416)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA7DC #DCC38E
analogous
#8ECEDC #8EA7DC #9C8EDC
triadic
#8EA7DC #DC8EA7 #A7DC8E
tetradic
#8EA7DC #DC8ECE #DCC38E #8EDC9C
square
#8EA7DC #DC8ECE #DCC38E #8EDC9C
split-complementary
#8EA7DC #DC9C8E #CEDC8E
monochromatic
#3961B7 #5F83CE #8EA7DC #BDCBEA #E8EDF8

Accessibility & contrast

On white

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

On black

8.71
#8EA7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA7DC
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA7DC#FFFFFF#000000##000000
##8EA7DC1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABDE
Deuteranopia (green-blind)
#8EA4DB
Tritanopia (blue-blind)
#76B2B9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ea7dc;
/* rgb */ color: rgb(142, 167, 220);
/* oklch */ color: oklch(72.9% 0.082 264.9);
Tailwind
colors: {
  custom: {
    50: '#b1c1e7',
    500: '#8ea7dc',
    950: '#000000',
  },
}
SCSS
$custom: #8ea7dc;
$custom-light: #b1c1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea7dc",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 220
  },
  "hsl": {
    "h": 220.769,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72908,
    "c": 0.08236,
    "h": 264.9
  },
  "luminance": 0.38556
}

Semantic roles & 50–950 ramp

primary
#8EA7DC
secondary
#EDE7D9
accent
#8F25C0
background
#FBFBFE
surface
#F6F7FC
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8EA7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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