#8EA2DC#8EA2DC

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

Color values

HEX#8EA2DC
RGBrgb(142, 162, 220)
HSLhsl(225, 53%, 71%)
HSVhsv(225, 35%, 86%)
CMYKcmyk(35.5%, 26.4%, 0%, 13.7%)
CIE-LABlab(67.09, 6.88, -31.65)
CIE-LCHlch(67.09, 32.39, 282.27°)
OKLaboklab(71.87% -0.0008 -0.0879)
OKLCHoklch(71.87% 0.088 269.5)
XYZxyz(36.9901, 36.7572, 72.8421)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2DC #DCC88E
analogous
#8EC9DC #8EA2DC #A18EDC
triadic
#8EA2DC #DC8EA2 #A2DC8E
tetradic
#8EA2DC #DC8EC9 #DCC88E #8EDCA1
square
#8EA2DC #DC8EC9 #DCC88E #8EDCA1
split-complementary
#8EA2DC #DCA18E #C9DC8E
monochromatic
#3959B7 #5F7CCE #8EA2DC #BDC8EA #E8ECF8

Accessibility & contrast

On white

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

On black

8.35
#8EA2DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2DC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2DC#FFFFFF#000000##000000
##8EA2DC1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7DF
Deuteranopia (green-blind)
#88A0DB
Tritanopia (blue-blind)
#77AEB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8ea2dc;
/* rgb */ color: rgb(142, 162, 220);
/* oklch */ color: oklch(71.9% 0.088 269.5);
Tailwind
colors: {
  custom: {
    50: '#b1bde7',
    500: '#8ea2dc',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2dc;
$custom-light: #b1bde7;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2dc",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 220
  },
  "hsl": {
    "h": 224.615,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71869,
    "c": 0.0879,
    "h": 269.5
  },
  "luminance": 0.36759
}

Semantic roles & 50–950 ramp

primary
#8EA2DC
secondary
#EDE8D9
accent
#9825C0
background
#FBFBFE
surface
#F6F6FC
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8EA2DC

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

Preview Lab → · Contrast checker → · Palette generator →

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