#8EA1CC#8EA1CC

#8EA1CC is a light, moderate blue. Relative luminance 0.356; OKLCH L 71.0% C 0.067 H 266.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8EA1CC
RGBrgb(142, 161, 204)
HSLhsl(222, 38%, 68%)
HSVhsv(222, 30%, 80%)
CMYKcmyk(30.4%, 21.1%, 0%, 20%)
CIE-LABlab(66.21, 3.32, -24.16)
CIE-LCHlch(66.21, 24.39, 277.83°)
OKLaboklab(70.98% -0.0045 -0.0666)
OKLCHoklch(70.98% 0.067 266.1)
XYZxyz(34.7962, 35.5989, 62.1529)
Luminance0.3560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1CC #CCB98E
analogous
#8EC0CC #8EA1CC #9A8ECC
triadic
#8EA1CC #CC8EA1 #A1CC8E
tetradic
#8EA1CC #CC8EC0 #CCB98E #8ECC9A
square
#8EA1CC #CC8EC0 #CCB98E #8ECC9A
split-complementary
#8EA1CC #CC9A8E #C0CC8E
monochromatic
#465F9A #647EB9 #8EA1CC #B8C4DF #E2E7F2

Accessibility & contrast

On white

2.59
#8EA1CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#8EA1CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1CC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1CC#FFFFFF#000000##000000
##8EA1CC1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CE
Deuteranopia (green-blind)
#8E9ECB
Tritanopia (blue-blind)
#7DAAAF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8ea1cc;
/* rgb */ color: rgb(142, 161, 204);
/* oklch */ color: oklch(71.0% 0.067 266.1);
Tailwind
colors: {
  custom: {
    50: '#b0bcdb',
    500: '#8ea1cc',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1cc;
$custom-light: #b0bcdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1cc",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 204
  },
  "hsl": {
    "h": 221.613,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70978,
    "c": 0.06673,
    "h": 266.1
  },
  "luminance": 0.356
}

Semantic roles & 50–950 ramp

primary
#8EA1CC
secondary
#E4DFD1
accent
#8B35B1
background
#FAFBFD
surface
#F5F6FB
border
#CFD0D4
text
#111215
muted
#808183

Preview Lab

Preview with #8EA1CC

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

Preview Lab → · Contrast checker → · Palette generator →

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