#8EA2EF#8EA2EF

#8EA2EF is a light, moderate blue. Relative luminance 0.378; OKLCH L 72.7% C 0.114 H 272.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8EA2EF
RGBrgb(142, 162, 239)
HSLhsl(228, 75%, 75%)
HSVhsv(228, 41%, 94%)
CMYKcmyk(40.6%, 32.2%, 0%, 6.3%)
CIE-LABlab(67.89, 12.01, -40.85)
CIE-LCHlch(67.89, 42.58, 286.39°)
OKLaboklab(72.75% 0.0044 -0.1144)
OKLCHoklch(72.75% 0.114 272.2)
XYZxyz(39.6509, 37.8215, 86.8556)
Luminance0.3782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA2EF #EFDB8E
analogous
#8ED3EF #8EA2EF #AB8EEF
triadic
#8EA2EF #EF8EA2 #A2EF8E
tetradic
#8EA2EF #EF8ED3 #EFDB8E #8EEFAB
square
#8EA2EF #EF8ED3 #EFDB8E #8EEFAB
split-complementary
#8EA2EF #EFAB8E #D3EF8E
monochromatic
#234AE0 #5876E7 #8EA2EF #C4CEF7 #E4E9FB

Accessibility & contrast

On white

2.45
#8EA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#8EA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA2EF
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA2EF#FFFFFF#000000##000000
##8EA2EF1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF2
Deuteranopia (green-blind)
#7FA2ED
Tritanopia (blue-blind)
#6FB2BE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ea2ef;
/* rgb */ color: rgb(142, 162, 239);
/* oklch */ color: oklch(72.7% 0.114 272.2);
Tailwind
colors: {
  custom: {
    50: '#b2bdf4',
    500: '#8ea2ef',
    950: '#000000',
  },
}
SCSS
$custom: #8ea2ef;
$custom-light: #b2bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea2ef",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 227.629,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72748,
    "c": 0.11445,
    "h": 272.2
  },
  "luminance": 0.37823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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