#8FA1EB#8FA1EB

#8FA1EB is a light, moderate blue. Relative luminance 0.373; OKLCH L 72.4% C 0.110 H 272.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8FA1EB
RGBrgb(143, 161, 235)
HSLhsl(228, 70%, 74%)
HSVhsv(228, 39%, 92%)
CMYKcmyk(39.1%, 31.5%, 0%, 7.8%)
CIE-LABlab(67.52, 11.74, -39.23)
CIE-LCHlch(67.52, 40.95, 286.67°)
OKLaboklab(72.42% 0.0056 -0.1097)
OKLCHoklch(72.42% 0.11 272.9)
XYZxyz(39.0635, 37.3258, 83.7275)
Luminance0.3733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA1EB #EBD98F
analogous
#8FCFEB #8FA1EB #AB8FEB
triadic
#8FA1EB #EB8FA1 #A1EB8F
tetradic
#8FA1EB #EB8FCF #EBD98F #8FEBAB
square
#8FA1EB #EB8FCF #EBD98F #8FEBAB
split-complementary
#8FA1EB #EBAB8F #CFEB8F
monochromatic
#274AD8 #5B75E2 #8FA1EB #C3CDF4 #E5E9FA

Accessibility & contrast

On white

2.48
#8FA1EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#8FA1EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA1EB
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA1EB#FFFFFF#000000##000000
##8FA1EB1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8EE
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#72B0BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8fa1eb;
/* rgb */ color: rgb(143, 161, 235);
/* oklch */ color: oklch(72.4% 0.110 272.9);
Tailwind
colors: {
  custom: {
    50: '#b3bcf1',
    500: '#8fa1eb',
    950: '#000000',
  },
}
SCSS
$custom: #8fa1eb;
$custom-light: #b3bcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa1eb",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 228.261,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72422,
    "c": 0.10981,
    "h": 272.9
  },
  "luminance": 0.37328
}

Semantic roles & 50–950 ramp

primary
#8FA1EB
secondary
#F2EDD9
accent
#AD14D2
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8FA1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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