#8EA5F2#8EA5F2

#8EA5F2 is a light, moderate blue. Relative luminance 0.391; OKLCH L 73.5% C 0.115 H 270.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8EA5F2
RGBrgb(142, 165, 242)
HSLhsl(226, 79%, 75%)
HSVhsv(226, 41%, 95%)
CMYKcmyk(41.3%, 31.8%, 0%, 5.1%)
CIE-LABlab(68.80, 11.13, -41.06)
CIE-LCHlch(68.80, 42.54, 285.17°)
OKLaboklab(73.5% 0.0014 -0.115)
OKLCHoklch(73.5% 0.115 270.7)
XYZxyz(40.6326, 39.0698, 89.3874)
Luminance0.3907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA5F2 #F2DB8E
analogous
#8ED7F2 #8EA5F2 #A98EF2
triadic
#8EA5F2 #F28EA5 #A5F28E
tetradic
#8EA5F2 #F28ED7 #F2DB8E #8EF2A9
square
#8EA5F2 #F28ED7 #F2DB8E #8EF2A9
split-complementary
#8EA5F2 #F2A98E #D7F28E
monochromatic
#204EE5 #5779EC #8EA5F2 #C5D1F8 #E4E9FC

Accessibility & contrast

On white

2.38
#8EA5F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#8EA5F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA5F2
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA5F2#FFFFFF#000000##000000
##8EA5F21.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF5
Deuteranopia (green-blind)
#81A4F0
Tritanopia (blue-blind)
#6DB5C1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ea5f2;
/* rgb */ color: rgb(142, 165, 242);
/* oklch */ color: oklch(73.5% 0.115 270.7);
Tailwind
colors: {
  custom: {
    50: '#b3bff6',
    500: '#8ea5f2',
    950: '#000000',
  },
}
SCSS
$custom: #8ea5f2;
$custom-light: #b3bff6;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea5f2",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 242
  },
  "hsl": {
    "h": 226.2,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73498,
    "c": 0.11498,
    "h": 270.7
  },
  "luminance": 0.39072
}

Semantic roles & 50–950 ramp

primary
#8EA5F2
secondary
#F4EDD7
accent
#AB0ADC
background
#FBFBFF
surface
#F6F7FE
border
#D0D0D6
text
#111217
muted
#808185

Preview Lab

Preview with #8EA5F2

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

Preview Lab → · Contrast checker → · Palette generator →

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