#8FA1EA#8FA1EA

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

Color values

HEX#8FA1EA
RGBrgb(143, 161, 234)
HSLhsl(228, 68%, 74%)
HSVhsv(228, 39%, 92%)
CMYKcmyk(38.9%, 31.2%, 0%, 8.2%)
CIE-LABlab(67.48, 11.47, -38.75)
CIE-LCHlch(67.48, 40.41, 286.49°)
OKLaboklab(72.38% 0.0054 -0.1083)
OKLCHoklch(72.38% 0.108 272.8)
XYZxyz(38.9194, 37.2681, 82.9687)
Luminance0.3727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA1EA #EAD88F
analogous
#8FCFEA #8FA1EA #AB8FEA
triadic
#8FA1EA #EA8FA1 #A1EA8F
tetradic
#8FA1EA #EA8FCF #EAD88F #8FEAAB
square
#8FA1EA #EA8FCF #EAD88F #8FEAAB
split-complementary
#8FA1EA #EAAB8F #CFEA8F
monochromatic
#284BD6 #5B76E0 #8FA1EA #C3CCF4 #E5E9FA

Accessibility & contrast

On white

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

On black

8.45
#8FA1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA1EA
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA1EA#FFFFFF#000000##000000
##8FA1EA1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A8ED
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#73B0BB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8fa1ea;
/* rgb */ color: rgb(143, 161, 234);
/* oklch */ color: oklch(72.4% 0.108 272.8);
Tailwind
colors: {
  custom: {
    50: '#b3bcf1',
    500: '#8fa1ea',
    950: '#000000',
  },
}
SCSS
$custom: #8fa1ea;
$custom-light: #b3bcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa1ea",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 234
  },
  "hsl": {
    "h": 228.132,
    "s": 68.421,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72375,
    "c": 0.10841,
    "h": 272.8
  },
  "luminance": 0.3727
}

Semantic roles & 50–950 ramp

primary
#8FA1EA
secondary
#F2EDD9
accent
#AB15D0
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8FA1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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