#8EA8F7#8EA8F7

#8EA8F7 is a light, moderate blue. Relative luminance 0.405; OKLCH L 74.3% C 0.118 H 269.5°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#8EA8F7
RGBrgb(142, 168, 247)
HSLhsl(225, 87%, 76%)
HSVhsv(225, 43%, 97%)
CMYKcmyk(42.5%, 32%, 0%, 3.1%)
CIE-LABlab(69.80, 10.82, -42.22)
CIE-LCHlch(69.80, 43.58, 284.38°)
OKLaboklab(74.35% -0.001 -0.1183)
OKLCHoklch(74.35% 0.118 269.5)
XYZxyz(41.9412, 40.4692, 93.5790)
Luminance0.4047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA8F7 #F7DD8E
analogous
#8EDDF7 #8EA8F7 #A98EF7
triadic
#8EA8F7 #F78EA8 #A8F78E
tetradic
#8EA8F7 #F78EDD #F7DD8E #8EF7A9
square
#8EA8F7 #F78EDD #F7DD8E #8EF7A9
split-complementary
#8EA8F7 #F7A98E #DDF78E
monochromatic
#1C50EF #557CF3 #8EA8F7 #C7D4FB #E2E9FD

Accessibility & contrast

On white

2.31
#8EA8F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#8EA8F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA8F7
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA8F7#FFFFFF#000000##000000
##8EA8F71.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAFFA
Deuteranopia (green-blind)
#82A6F5
Tritanopia (blue-blind)
#6AB8C4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8ea8f7;
/* rgb */ color: rgb(142, 168, 247);
/* oklch */ color: oklch(74.3% 0.118 269.5);
Tailwind
colors: {
  custom: {
    50: '#b3c1fa',
    500: '#8ea8f7',
    950: '#000000',
  },
}
SCSS
$custom: #8ea8f7;
$custom-light: #b3c1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea8f7",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 247
  },
  "hsl": {
    "h": 225.143,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74345,
    "c": 0.11832,
    "h": 269.5
  },
  "luminance": 0.40471
}

Semantic roles & 50–950 ramp

primary
#8EA8F7
secondary
#F5EDD6
accent
#AC02E3
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8EA8F7

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

Preview Lab → · Contrast checker → · Palette generator →

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