#8EA5EF#8EA5EF

#8EA5EF is a light, moderate blue. Relative luminance 0.389; OKLCH L 73.4% C 0.111 H 270.3°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8EA5EF
RGBrgb(142, 165, 239)
HSLhsl(226, 75%, 75%)
HSVhsv(226, 41%, 94%)
CMYKcmyk(40.6%, 31%, 0%, 6.3%)
CIE-LABlab(68.67, 10.31, -39.63)
CIE-LCHlch(68.67, 40.94, 284.58°)
OKLaboklab(73.36% 0.0006 -0.1108)
OKLCHoklch(73.36% 0.111 270.3)
XYZxyz(40.1857, 38.8911, 87.0339)
Luminance0.3889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA5EF #EFD88E
analogous
#8ED6EF #8EA5EF #A88EEF
triadic
#8EA5EF #EF8EA5 #A5EF8E
tetradic
#8EA5EF #EF8ED6 #EFD88E #8EEFA8
square
#8EA5EF #EF8ED6 #EFD88E #8EEFA8
split-complementary
#8EA5EF #EFA88E #D6EF8E
monochromatic
#2350E0 #587AE7 #8EA5EF #C4D0F7 #E4EAFB

Accessibility & contrast

On white

2.39
#8EA5EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#8EA5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA5EF
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA5EF#FFFFFF#000000##000000
##8EA5EF1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#83A4ED
Tritanopia (blue-blind)
#6EB4BF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ea5ef;
/* rgb */ color: rgb(142, 165, 239);
/* oklch */ color: oklch(73.4% 0.111 270.3);
Tailwind
colors: {
  custom: {
    50: '#b2bff4',
    500: '#8ea5ef',
    950: '#000000',
  },
}
SCSS
$custom: #8ea5ef;
$custom-light: #b2bff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea5ef",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 225.773,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73355,
    "c": 0.11083,
    "h": 270.3
  },
  "luminance": 0.38893
}

Semantic roles & 50–950 ramp

primary
#8EA5EF
secondary
#F3EDD8
accent
#A80ED7
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8EA5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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