#8EA7EF#8EA7EF

#8EA7EF is a light, moderate blue. Relative luminance 0.396; OKLCH L 73.8% C 0.108 H 269.0°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8EA7EF
RGBrgb(142, 167, 239)
HSLhsl(225, 75%, 75%)
HSVhsv(225, 41%, 94%)
CMYKcmyk(40.6%, 30.1%, 0%, 6.3%)
CIE-LABlab(69.20, 9.17, -38.81)
CIE-LCHlch(69.20, 39.88, 283.30°)
OKLaboklab(73.76% -0.0019 -0.1085)
OKLCHoklch(73.76% 0.108 269)
XYZxyz(40.5492, 39.6182, 87.1551)
Luminance0.3962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA7EF #EFD68E
analogous
#8ED8EF #8EA7EF #A68EEF
triadic
#8EA7EF #EF8EA7 #A7EF8E
tetradic
#8EA7EF #EF8ED8 #EFD68E #8EEFA6
square
#8EA7EF #EF8ED8 #EFD68E #8EEFA6
split-complementary
#8EA7EF #EFA68E #D8EF8E
monochromatic
#2354E0 #587DE7 #8EA7EF #C4D1F7 #E4EAFB

Accessibility & contrast

On white

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

On black

8.92
#8EA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA7EF
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA7EF#FFFFFF#000000##000000
##8EA7EF1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EADF2
Deuteranopia (green-blind)
#85A5ED
Tritanopia (blue-blind)
#6EB6C1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ea7ef;
/* rgb */ color: rgb(142, 167, 239);
/* oklch */ color: oklch(73.8% 0.108 269.0);
Tailwind
colors: {
  custom: {
    50: '#b2c0f4',
    500: '#8ea7ef',
    950: '#000000',
  },
}
SCSS
$custom: #8ea7ef;
$custom-light: #b2c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea7ef",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 224.536,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73762,
    "c": 0.10848,
    "h": 269
  },
  "luminance": 0.3962
}

Semantic roles & 50–950 ramp

primary
#8EA7EF
secondary
#F3ECD8
accent
#A30ED7
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8EA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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