#8EA7EC#8EA7EC

#8EA7EC is a light, moderate blue. Relative luminance 0.394; OKLCH L 73.6% C 0.104 H 268.5°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#8EA7EC
RGBrgb(142, 167, 236)
HSLhsl(224, 71%, 74%)
HSVhsv(224, 40%, 93%)
CMYKcmyk(39.8%, 29.2%, 0%, 7.5%)
CIE-LABlab(69.07, 8.35, -37.37)
CIE-LCHlch(69.07, 38.29, 282.60°)
OKLaboklab(73.62% -0.0027 -0.1043)
OKLCHoklch(73.62% 0.104 268.5)
XYZxyz(40.1097, 39.4424, 84.8403)
Luminance0.3944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA7EC #ECD38E
analogous
#8ED6EC #8EA7EC #A48EEC
triadic
#8EA7EC #EC8EA7 #A7EC8E
tetradic
#8EA7EC #EC8ED6 #ECD38E #8EECA4
square
#8EA7EC #EC8ED6 #ECD38E #8EECA4
split-complementary
#8EA7EC #ECA48E #D6EC8E
monochromatic
#2555DA #5A7EE3 #8EA7EC #C2D0F5 #E5EBFB

Accessibility & contrast

On white

2.36
#8EA7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#8EA7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA7EC
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA7EC#FFFFFF#000000##000000
##8EA7EC1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FADEF
Deuteranopia (green-blind)
#87A5EA
Tritanopia (blue-blind)
#6FB5BF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ea7ec;
/* rgb */ color: rgb(142, 167, 236);
/* oklch */ color: oklch(73.6% 0.104 268.5);
Tailwind
colors: {
  custom: {
    50: '#b2c0f2',
    500: '#8ea7ec',
    950: '#000000',
  },
}
SCSS
$custom: #8ea7ec;
$custom-light: #b2c0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea7ec",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 224.043,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73622,
    "c": 0.10435,
    "h": 268.5
  },
  "luminance": 0.39444
}

Semantic roles & 50–950 ramp

primary
#8EA7EC
secondary
#F2EBD9
accent
#A012D3
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8EA7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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