#8EA7F5#8EA7F5

#8EA7F5 is a light, moderate blue. Relative luminance 0.400; OKLCH L 74.0% C 0.117 H 269.8°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8EA7F5
RGBrgb(142, 167, 245)
HSLhsl(225, 84%, 76%)
HSVhsv(225, 42%, 96%)
CMYKcmyk(42%, 31.8%, 0%, 3.9%)
CIE-LABlab(69.45, 10.83, -41.67)
CIE-LCHlch(69.45, 43.06, 284.57°)
OKLaboklab(74.05% -0.0003 -0.1167)
OKLCHoklch(74.05% 0.117 269.8)
XYZxyz(41.4504, 39.9786, 91.9010)
Luminance0.3998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA7F5 #F5DC8E
analogous
#8EDAF5 #8EA7F5 #A88EF5
triadic
#8EA7F5 #F58EA7 #A7F58E
tetradic
#8EA7F5 #F58EDA #F5DC8E #8EF5A8
square
#8EA7F5 #F58EDA #F5DC8E #8EF5A8
split-complementary
#8EA7F5 #F5A88E #DAF58E
monochromatic
#1E4FEB #567BF0 #8EA7F5 #C6D3FA #E3E9FD

Accessibility & contrast

On white

2.33
#8EA7F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#8EA7F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA7F5
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA7F5#FFFFFF#000000##000000
##8EA7F51.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAEF8
Deuteranopia (green-blind)
#82A6F3
Tritanopia (blue-blind)
#6BB7C3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8ea7f5;
/* rgb */ color: rgb(142, 167, 245);
/* oklch */ color: oklch(74.0% 0.117 269.8);
Tailwind
colors: {
  custom: {
    50: '#b3c0f8',
    500: '#8ea7f5',
    950: '#000000',
  },
}
SCSS
$custom: #8ea7f5;
$custom-light: #b3c0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea7f5",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 245
  },
  "hsl": {
    "h": 225.437,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74046,
    "c": 0.11675,
    "h": 269.8
  },
  "luminance": 0.39981
}

Semantic roles & 50–950 ramp

primary
#8EA7F5
secondary
#F4EDD7
accent
#AB05E0
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8EA7F5

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

Preview Lab → · Contrast checker → · Palette generator →

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