#8EA5DC#8EA5DC

#8EA5DC is a light, moderate blue. Relative luminance 0.378; OKLCH L 72.5% C 0.085 H 266.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8EA5DC
RGBrgb(142, 165, 220)
HSLhsl(222, 53%, 71%)
HSVhsv(222, 35%, 86%)
CMYKcmyk(35.5%, 25%, 0%, 13.7%)
CIE-LABlab(67.89, 5.19, -30.42)
CIE-LCHlch(67.89, 30.86, 279.69°)
OKLaboklab(72.49% -0.0048 -0.0844)
OKLCHoklch(72.49% 0.085 266.8)
XYZxyz(37.5249, 37.8267, 73.0204)
Luminance0.3783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA5DC #DCC58E
analogous
#8ECCDC #8EA5DC #9E8EDC
triadic
#8EA5DC #DC8EA5 #A5DC8E
tetradic
#8EA5DC #DC8ECC #DCC58E #8EDC9E
square
#8EA5DC #DC8ECC #DCC58E #8EDC9E
split-complementary
#8EA5DC #DC9E8E #CCDC8E
monochromatic
#395EB7 #5F80CE #8EA5DC #BDCAEA #E8ECF8

Accessibility & contrast

On white

2.45
#8EA5DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#8EA5DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA5DC
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA5DC#FFFFFF#000000##000000
##8EA5DC1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A9DE
Deuteranopia (green-blind)
#8BA2DB
Tritanopia (blue-blind)
#76B0B8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ea5dc;
/* rgb */ color: rgb(142, 165, 220);
/* oklch */ color: oklch(72.5% 0.085 266.8);
Tailwind
colors: {
  custom: {
    50: '#b1bfe7',
    500: '#8ea5dc',
    950: '#000000',
  },
}
SCSS
$custom: #8ea5dc;
$custom-light: #b1bfe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea5dc",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 220
  },
  "hsl": {
    "h": 222.308,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72491,
    "c": 0.08451,
    "h": 266.8
  },
  "luminance": 0.37828
}

Semantic roles & 50–950 ramp

primary
#8EA5DC
secondary
#EDE7D9
accent
#9225C0
background
#FBFBFE
surface
#F6F7FC
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8EA5DC

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

Preview Lab → · Contrast checker → · Palette generator →

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