#8EA7F1#8EA7F1

#8EA7F1 is a light, moderate blue. Relative luminance 0.397; OKLCH L 73.9% C 0.111 H 269.3°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#8EA7F1
RGBrgb(142, 167, 241)
HSLhsl(225, 78%, 75%)
HSVhsv(225, 41%, 95%)
CMYKcmyk(41.1%, 30.7%, 0%, 5.5%)
CIE-LABlab(69.28, 9.72, -39.77)
CIE-LCHlch(69.28, 40.94, 283.74°)
OKLaboklab(73.86% -0.0014 -0.1112)
OKLCHoklch(73.86% 0.111 269.3)
XYZxyz(40.8463, 39.7370, 88.7198)
Luminance0.3974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA7F1 #F1D88E
analogous
#8ED9F1 #8EA7F1 #A68EF1
triadic
#8EA7F1 #F18EA7 #A7F18E
tetradic
#8EA7F1 #F18ED9 #F1D88E #8EF1A6
square
#8EA7F1 #F18ED9 #F1D88E #8EF1A6
split-complementary
#8EA7F1 #F1A68E #D9F18E
monochromatic
#2152E4 #587DEA #8EA7F1 #C4D1F8 #E4EAFC

Accessibility & contrast

On white

2.35
#8EA7F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#8EA7F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA7F1
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA7F1#FFFFFF#000000##000000
##8EA7F11.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAEF4
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#6DB6C1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ea7f1;
/* rgb */ color: rgb(142, 167, 241);
/* oklch */ color: oklch(73.9% 0.111 269.3);
Tailwind
colors: {
  custom: {
    50: '#b2c0f6',
    500: '#8ea7f1',
    950: '#000000',
  },
}
SCSS
$custom: #8ea7f1;
$custom-light: #b2c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea7f1",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 241
  },
  "hsl": {
    "h": 224.848,
    "s": 77.953,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73856,
    "c": 0.11124,
    "h": 269.3
  },
  "luminance": 0.39739
}

Semantic roles & 50–950 ramp

primary
#8EA7F1
secondary
#F3ECD8
accent
#A60BDA
background
#FBFBFF
surface
#F6F7FE
border
#D0D0D6
text
#111217
muted
#808185

Preview Lab

Preview with #8EA7F1

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

Preview Lab → · Contrast checker → · Palette generator →

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