#8EA2DD#8EA2DD

#8EA2DD is a light, moderate blue. Relative luminance 0.368; OKLCH L 71.9% C 0.089 H 269.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8EA2DD
RGBrgb(142, 162, 221)
HSLhsl(225, 54%, 71%)
HSVhsv(225, 36%, 87%)
CMYKcmyk(35.7%, 26.7%, 0%, 13.3%)
CIE-LABlab(67.13, 7.15, -32.14)
CIE-LCHlch(67.13, 32.93, 282.54°)
OKLaboklab(71.91% -0.0005 -0.0893)
OKLCHoklch(71.91% 0.089 269.7)
XYZxyz(37.1229, 36.8103, 73.5417)
Luminance0.3681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2DD #DDC98E
analogous
#8EC9DD #8EA2DD #A18EDD
triadic
#8EA2DD #DD8EA2 #A2DD8E
tetradic
#8EA2DD #DD8EC9 #DDC98E #8EDDA1
square
#8EA2DD #DD8EC9 #DDC98E #8EDDA1
split-complementary
#8EA2DD #DDA18E #C9DD8E
monochromatic
#3858B9 #5F7BCF #8EA2DD #BDC9EB #E7ECF8

Accessibility & contrast

On white

2.51
#8EA2DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#8EA2DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2DD
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2DD#FFFFFF#000000##000000
##8EA2DD1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7E0
Deuteranopia (green-blind)
#88A0DC
Tritanopia (blue-blind)
#76AEB7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8ea2dd;
/* rgb */ color: rgb(142, 162, 221);
/* oklch */ color: oklch(71.9% 0.089 269.7);
Tailwind
colors: {
  custom: {
    50: '#b1bde7',
    500: '#8ea2dd',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2dd;
$custom-light: #b1bde7;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2dd",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 221
  },
  "hsl": {
    "h": 224.81,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71914,
    "c": 0.0893,
    "h": 269.7
  },
  "luminance": 0.36812
}

Semantic roles & 50–950 ramp

primary
#8EA2DD
secondary
#EEE9D9
accent
#9924C1
background
#FBFBFE
surface
#F6F6FC
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8EA2DD

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

Preview Lab → · Contrast checker → · Palette generator →

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