#8FA4EC#8FA4EC

#8FA4EC is a light, moderate blue. Relative luminance 0.384; OKLCH L 73.1% C 0.108 H 271.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8FA4EC
RGBrgb(143, 164, 236)
HSLhsl(226, 71%, 74%)
HSVhsv(226, 39%, 93%)
CMYKcmyk(39.4%, 30.5%, 0%, 7.5%)
CIE-LABlab(68.35, 10.31, -38.49)
CIE-LCHlch(68.35, 39.85, 285.00°)
OKLaboklab(73.08% 0.0021 -0.1075)
OKLCHoklch(73.08% 0.108 271.1)
XYZxyz(39.7389, 38.4448, 84.6673)
Luminance0.3845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA4EC #ECD78F
analogous
#8FD2EC #8FA4EC #A98FEC
triadic
#8FA4EC #EC8FA4 #A4EC8F
tetradic
#8FA4EC #EC8FD2 #ECD78F #8FECA9
square
#8FA4EC #EC8FD2 #ECD78F #8FECA9
split-complementary
#8FA4EC #ECA98F #D2EC8F
monochromatic
#264FDA #5B79E3 #8FA4EC #C3CFF5 #E5EAFB

Accessibility & contrast

On white

2.42
#8FA4EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#8FA4EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA4EC
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA4EC#FFFFFF#000000##000000
##8FA4EC1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEF
Deuteranopia (green-blind)
#84A3EA
Tritanopia (blue-blind)
#71B2BE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fa4ec;
/* rgb */ color: rgb(143, 164, 236);
/* oklch */ color: oklch(73.1% 0.108 271.1);
Tailwind
colors: {
  custom: {
    50: '#b3bef2',
    500: '#8fa4ec',
    950: '#000000',
  },
}
SCSS
$custom: #8fa4ec;
$custom-light: #b3bef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa4ec",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 236
  },
  "hsl": {
    "h": 226.452,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73077,
    "c": 0.10755,
    "h": 271.1
  },
  "luminance": 0.38447
}

Semantic roles & 50–950 ramp

primary
#8FA4EC
secondary
#F2ECD9
accent
#A812D3
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8FA4EC

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

Preview Lab → · Contrast checker → · Palette generator →

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