#8EA7F2#8EA7F2

#8EA7F2 is a light, moderate blue. Relative luminance 0.398; OKLCH L 73.9% C 0.113 H 269.4°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8EA7F2
RGBrgb(142, 167, 242)
HSLhsl(225, 79%, 75%)
HSVhsv(225, 41%, 95%)
CMYKcmyk(41.3%, 31%, 0%, 5.1%)
CIE-LABlab(69.32, 10.00, -40.24)
CIE-LCHlch(69.32, 41.47, 283.96°)
OKLaboklab(73.9% -0.0011 -0.1126)
OKLCHoklch(73.9% 0.113 269.4)
XYZxyz(40.9961, 39.7969, 89.5086)
Luminance0.3980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA7F2 #F2D98E
analogous
#8ED9F2 #8EA7F2 #A78EF2
triadic
#8EA7F2 #F28EA7 #A7F28E
tetradic
#8EA7F2 #F28ED9 #F2D98E #8EF2A7
square
#8EA7F2 #F28ED9 #F2D98E #8EF2A7
split-complementary
#8EA7F2 #F2A78E #D9F28E
monochromatic
#2052E5 #577CEC #8EA7F2 #C5D2F8 #E4EAFC

Accessibility & contrast

On white

2.34
#8EA7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#8EA7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA7F2
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA7F2#FFFFFF#000000##000000
##8EA7F21.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAEF5
Deuteranopia (green-blind)
#84A5F0
Tritanopia (blue-blind)
#6CB6C2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ea7f2;
/* rgb */ color: rgb(142, 167, 242);
/* oklch */ color: oklch(73.9% 0.113 269.4);
Tailwind
colors: {
  custom: {
    50: '#b3c0f6',
    500: '#8ea7f2',
    950: '#000000',
  },
}
SCSS
$custom: #8ea7f2;
$custom-light: #b3c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea7f2",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 242
  },
  "hsl": {
    "h": 225,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73903,
    "c": 0.11262,
    "h": 269.4
  },
  "luminance": 0.39799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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