#8EA4EF#8EA4EF

#8EA4EF is a light, moderate blue. Relative luminance 0.385; OKLCH L 73.2% C 0.112 H 271.0°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8EA4EF
RGBrgb(142, 164, 239)
HSLhsl(226, 75%, 75%)
HSVhsv(226, 41%, 94%)
CMYKcmyk(40.6%, 31.4%, 0%, 6.3%)
CIE-LABlab(68.41, 10.87, -40.03)
CIE-LCHlch(68.41, 41.48, 285.20°)
OKLaboklab(73.15% 0.0019 -0.112)
OKLCHoklch(73.15% 0.112 271)
XYZxyz(40.0060, 38.5317, 86.9740)
Luminance0.3853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA4EF #EFD98E
analogous
#8ED4EF #8EA4EF #A98EEF
triadic
#8EA4EF #EF8EA4 #A4EF8E
tetradic
#8EA4EF #EF8ED4 #EFD98E #8EEFA9
square
#8EA4EF #EF8ED4 #EFD98E #8EEFA9
split-complementary
#8EA4EF #EFA98E #D4EF8E
monochromatic
#234EE0 #5879E7 #8EA4EF #C4CFF7 #E4E9FB

Accessibility & contrast

On white

2.41
#8EA4EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#8EA4EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA4EF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA4EF#FFFFFF#000000##000000
##8EA4EF1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AABF2
Deuteranopia (green-blind)
#82A3ED
Tritanopia (blue-blind)
#6EB3BF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ea4ef;
/* rgb */ color: rgb(142, 164, 239);
/* oklch */ color: oklch(73.2% 0.112 271.0);
Tailwind
colors: {
  custom: {
    50: '#b2bef4',
    500: '#8ea4ef',
    950: '#000000',
  },
}
SCSS
$custom: #8ea4ef;
$custom-light: #b2bef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea4ef",
  "rgb": {
    "r": 142,
    "g": 164,
    "b": 239
  },
  "hsl": {
    "h": 226.392,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73152,
    "c": 0.11203,
    "h": 271
  },
  "luminance": 0.38534
}

Semantic roles & 50–950 ramp

primary
#8EA4EF
secondary
#F3EDD8
accent
#AA0ED7
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8EA4EF

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

Preview Lab → · Contrast checker → · Palette generator →

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