#8EA5F1#8EA5F1

#8EA5F1 is a light, moderate blue. Relative luminance 0.390; OKLCH L 73.5% C 0.114 H 270.6°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8EA5F1
RGBrgb(142, 165, 241)
HSLhsl(226, 78%, 75%)
HSVhsv(226, 41%, 95%)
CMYKcmyk(41.1%, 31.5%, 0%, 5.5%)
CIE-LABlab(68.76, 10.86, -40.58)
CIE-LCHlch(68.76, 42.01, 284.98°)
OKLaboklab(73.45% 0.0011 -0.1136)
OKLCHoklch(73.45% 0.114 270.6)
XYZxyz(40.4828, 39.0099, 88.5986)
Luminance0.3901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA5F1 #F1DA8E
analogous
#8ED6F1 #8EA5F1 #A98EF1
triadic
#8EA5F1 #F18EA5 #A5F18E
tetradic
#8EA5F1 #F18ED6 #F1DA8E #8EF1A9
square
#8EA5F1 #F18ED6 #F1DA8E #8EF1A9
split-complementary
#8EA5F1 #F1A98E #D6F18E
monochromatic
#214EE4 #587AEA #8EA5F1 #C4D0F8 #E4E9FC

Accessibility & contrast

On white

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

On black

8.80
#8EA5F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA5F1
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA5F1#FFFFFF#000000##000000
##8EA5F11.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF4
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#6DB4C0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ea5f1;
/* rgb */ color: rgb(142, 165, 241);
/* oklch */ color: oklch(73.5% 0.114 270.6);
Tailwind
colors: {
  custom: {
    50: '#b3bff6',
    500: '#8ea5f1',
    950: '#000000',
  },
}
SCSS
$custom: #8ea5f1;
$custom-light: #b3bff6;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea5f1",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 241
  },
  "hsl": {
    "h": 226.061,
    "s": 77.953,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7345,
    "c": 0.1136,
    "h": 270.6
  },
  "luminance": 0.39012
}

Semantic roles & 50–950 ramp

primary
#8EA5F1
secondary
#F3EDD8
accent
#AA0BDA
background
#FBFBFF
surface
#F6F7FE
border
#D0D0D6
text
#111217
muted
#808185

Preview Lab

Preview with #8EA5F1

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

Preview Lab → · Contrast checker → · Palette generator →

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