#8EA8EC#8EA8EC

#8EA8EC is a light, moderate blue. Relative luminance 0.398; OKLCH L 73.8% C 0.103 H 267.8°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8EA8EC
RGBrgb(142, 168, 236)
HSLhsl(223, 71%, 74%)
HSVhsv(223, 40%, 93%)
CMYKcmyk(39.8%, 28.8%, 0%, 7.5%)
CIE-LABlab(69.33, 7.79, -36.96)
CIE-LCHlch(69.33, 37.77, 281.90°)
OKLaboklab(73.83% -0.004 -0.1031)
OKLCHoklch(73.83% 0.103 267.8)
XYZxyz(40.2936, 39.8102, 84.9016)
Luminance0.3981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA8EC #ECD28E
analogous
#8ED7EC #8EA8EC #A38EEC
triadic
#8EA8EC #EC8EA8 #A8EC8E
tetradic
#8EA8EC #EC8ED7 #ECD28E #8EECA3
square
#8EA8EC #EC8ED7 #ECD28E #8EECA3
split-complementary
#8EA8EC #ECA38E #D7EC8E
monochromatic
#2557DA #5A80E3 #8EA8EC #C2D0F5 #E5EBFB

Accessibility & contrast

On white

2.34
#8EA8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#8EA8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA8EC
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA8EC#FFFFFF#000000##000000
##8EA8EC1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEF
Deuteranopia (green-blind)
#88A6EA
Tritanopia (blue-blind)
#6FB6C0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ea8ec;
/* rgb */ color: rgb(142, 168, 236);
/* oklch */ color: oklch(73.8% 0.103 267.8);
Tailwind
colors: {
  custom: {
    50: '#b2c1f2',
    500: '#8ea8ec',
    950: '#000000',
  },
}
SCSS
$custom: #8ea8ec;
$custom-light: #b2c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea8ec",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 236
  },
  "hsl": {
    "h": 223.404,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73827,
    "c": 0.10321,
    "h": 267.8
  },
  "luminance": 0.39812
}

Semantic roles & 50–950 ramp

primary
#8EA8EC
secondary
#F2EBD9
accent
#9E12D3
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8EA8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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