#8EA7DB#8EA7DB

#8EA7DB is a light, moderate blue. Relative luminance 0.385; OKLCH L 72.9% C 0.081 H 264.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8EA7DB
RGBrgb(142, 167, 219)
HSLhsl(221, 52%, 71%)
HSVhsv(221, 35%, 86%)
CMYKcmyk(35.2%, 23.7%, 0%, 14.1%)
CIE-LABlab(68.39, 3.81, -29.10)
CIE-LCHlch(68.39, 29.35, 277.46°)
OKLaboklab(72.87% -0.0077 -0.0806)
OKLCHoklch(72.87% 0.081 264.6)
XYZxyz(37.7564, 38.5010, 72.4461)
Luminance0.3850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA7DB #DBC28E
analogous
#8ECEDB #8EA7DB #9B8EDB
triadic
#8EA7DB #DB8EA7 #A7DB8E
tetradic
#8EA7DB #DB8ECE #DBC28E #8EDB9B
square
#8EA7DB #DB8ECE #DBC28E #8EDB9B
split-complementary
#8EA7DB #DB9B8E #CEDB8E
monochromatic
#3A62B5 #6083CC #8EA7DB #BCCBEA #E8EDF8

Accessibility & contrast

On white

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

On black

8.70
#8EA7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA7DB
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA7DB#FFFFFF#000000##000000
##8EA7DB1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ABDD
Deuteranopia (green-blind)
#8EA4DA
Tritanopia (blue-blind)
#77B2B9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ea7db;
/* rgb */ color: rgb(142, 167, 219);
/* oklch */ color: oklch(72.9% 0.081 264.6);
Tailwind
colors: {
  custom: {
    50: '#b1c1e6',
    500: '#8ea7db',
    950: '#000000',
  },
}
SCSS
$custom: #8ea7db;
$custom-light: #b1c1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea7db",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 219
  },
  "hsl": {
    "h": 220.519,
    "s": 51.678,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72865,
    "c": 0.08101,
    "h": 264.6
  },
  "luminance": 0.38503
}

Semantic roles & 50–950 ramp

primary
#8EA7DB
secondary
#EDE6D8
accent
#8E26BF
background
#FBFBFE
surface
#F6F7FC
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8EA7DB

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

Preview Lab → · Contrast checker → · Palette generator →

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