#8EA8DC#8EA8DC

#8EA8DC is a light, moderate blue. Relative luminance 0.389; OKLCH L 73.1% C 0.081 H 263.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8EA8DC
RGBrgb(142, 168, 220)
HSLhsl(220, 53%, 71%)
HSVhsv(220, 35%, 86%)
CMYKcmyk(35.5%, 23.6%, 0%, 13.7%)
CIE-LABlab(68.69, 3.51, -29.18)
CIE-LCHlch(68.69, 29.39, 276.86°)
OKLaboklab(73.12% -0.0087 -0.0809)
OKLCHoklch(73.12% 0.081 263.9)
XYZxyz(38.0723, 38.9217, 73.2029)
Luminance0.3892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA8DC #DCC28E
analogous
#8ECFDC #8EA8DC #9B8EDC
triadic
#8EA8DC #DC8EA8 #A8DC8E
tetradic
#8EA8DC #DC8ECF #DCC28E #8EDC9B
square
#8EA8DC #DC8ECF #DCC28E #8EDC9B
split-complementary
#8EA8DC #DC9B8E #CFDC8E
monochromatic
#3963B7 #5F84CE #8EA8DC #BDCCEA #E8EDF8

Accessibility & contrast

On white

2.39
#8EA8DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#8EA8DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA8DC
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA8DC#FFFFFF#000000##000000
##8EA8DC1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ABDE
Deuteranopia (green-blind)
#8FA4DB
Tritanopia (blue-blind)
#76B3BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ea8dc;
/* rgb */ color: rgb(142, 168, 220);
/* oklch */ color: oklch(73.1% 0.081 263.9);
Tailwind
colors: {
  custom: {
    50: '#b1c1e7',
    500: '#8ea8dc',
    950: '#000000',
  },
}
SCSS
$custom: #8ea8dc;
$custom-light: #b1c1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea8dc",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 220
  },
  "hsl": {
    "h": 220,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73117,
    "c": 0.08132,
    "h": 263.9
  },
  "luminance": 0.38923
}

Semantic roles & 50–950 ramp

primary
#8EA8DC
secondary
#EDE6D9
accent
#8D25C0
background
#FBFBFE
surface
#F6F7FC
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8EA8DC

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

Preview Lab → · Contrast checker → · Palette generator →

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