#8EA8F2#8EA8F2

#8EA8F2 is a light, moderate blue. Relative luminance 0.402; OKLCH L 74.1% C 0.111 H 268.8°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8EA8F2
RGBrgb(142, 168, 242)
HSLhsl(224, 79%, 75%)
HSVhsv(224, 41%, 95%)
CMYKcmyk(41.3%, 30.6%, 0%, 5.1%)
CIE-LABlab(69.59, 9.44, -39.83)
CIE-LCHlch(69.59, 40.94, 283.33°)
OKLaboklab(74.11% -0.0023 -0.1114)
OKLCHoklch(74.11% 0.111 268.8)
XYZxyz(41.1800, 40.1647, 89.5699)
Luminance0.4017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA8F2 #F2D88E
analogous
#8EDAF2 #8EA8F2 #A68EF2
triadic
#8EA8F2 #F28EA8 #A8F28E
tetradic
#8EA8F2 #F28EDA #F2D88E #8EF2A6
square
#8EA8F2 #F28EDA #F2D88E #8EF2A6
split-complementary
#8EA8F2 #F2A68E #DAF28E
monochromatic
#2053E5 #577EEC #8EA8F2 #C5D2F8 #E4EAFC

Accessibility & contrast

On white

2.32
#8EA8F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#8EA8F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA8F2
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA8F2#FFFFFF#000000##000000
##8EA8F21.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAFF5
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#6CB7C2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8ea8f2;
/* rgb */ color: rgb(142, 168, 242);
/* oklch */ color: oklch(74.1% 0.111 268.8);
Tailwind
colors: {
  custom: {
    50: '#b3c1f6',
    500: '#8ea8f2',
    950: '#000000',
  },
}
SCSS
$custom: #8ea8f2;
$custom-light: #b3c1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea8f2",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 242
  },
  "hsl": {
    "h": 224.4,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74106,
    "c": 0.11145,
    "h": 268.8
  },
  "luminance": 0.40167
}

Semantic roles & 50–950 ramp

primary
#8EA8F2
secondary
#F4ECD7
accent
#A50ADC
background
#FBFBFF
surface
#F6F7FE
border
#D0D0D6
text
#111217
muted
#808185

Preview Lab

Preview with #8EA8F2

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

Preview Lab → · Contrast checker → · Palette generator →

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