#8EA4F2#8EA4F2

#8EA4F2 is a light, moderate blue. Relative luminance 0.387; OKLCH L 73.3% C 0.116 H 271.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8EA4F2
RGBrgb(142, 164, 242)
HSLhsl(227, 79%, 75%)
HSVhsv(227, 41%, 95%)
CMYKcmyk(41.3%, 32.2%, 0%, 5.1%)
CIE-LABlab(68.54, 11.70, -41.47)
CIE-LCHlch(68.54, 43.09, 285.76°)
OKLaboklab(73.3% 0.0026 -0.1162)
OKLCHoklch(73.3% 0.116 271.3)
XYZxyz(40.4529, 38.7105, 89.3275)
Luminance0.3871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA4F2 #F2DC8E
analogous
#8ED6F2 #8EA4F2 #AA8EF2
triadic
#8EA4F2 #F28EA4 #A4F28E
tetradic
#8EA4F2 #F28ED6 #F2DC8E #8EF2AA
square
#8EA4F2 #F28ED6 #F2DC8E #8EF2AA
split-complementary
#8EA4F2 #F2AA8E #D6F28E
monochromatic
#204CE5 #5778EC #8EA4F2 #C5D0F8 #E4E9FC

Accessibility & contrast

On white

2.40
#8EA4F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#8EA4F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA4F2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA4F2#FFFFFF#000000##000000
##8EA4F21.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#80A3F0
Tritanopia (blue-blind)
#6DB4C0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ea4f2;
/* rgb */ color: rgb(142, 164, 242);
/* oklch */ color: oklch(73.3% 0.116 271.3);
Tailwind
colors: {
  custom: {
    50: '#b3bef6',
    500: '#8ea4f2',
    950: '#000000',
  },
}
SCSS
$custom: #8ea4f2;
$custom-light: #b3bef6;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea4f2",
  "rgb": {
    "r": 142,
    "g": 164,
    "b": 242
  },
  "hsl": {
    "h": 226.8,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73296,
    "c": 0.11619,
    "h": 271.3
  },
  "luminance": 0.38713
}

Semantic roles & 50–950 ramp

primary
#8EA4F2
secondary
#F4EDD7
accent
#AE0ADC
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111217
muted
#808185

Preview Lab

Preview with #8EA4F2

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

Preview Lab → · Contrast checker → · Palette generator →

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