#8FA4FA#8FA4FA

#8FA4FA is a light, vivid blue. Relative luminance 0.393; OKLCH L 73.8% C 0.127 H 272.5°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#8FA4FA
RGBrgb(143, 164, 250)
HSLhsl(228, 91%, 77%)
HSVhsv(228, 43%, 98%)
CMYKcmyk(42.8%, 34.4%, 0%, 2%)
CIE-LABlab(68.96, 14.18, -45.16)
CIE-LCHlch(68.96, 47.34, 287.43°)
OKLaboklab(73.75% 0.0056 -0.1268)
OKLCHoklch(73.75% 0.127 272.5)
XYZxyz(41.8532, 39.2905, 95.8025)
Luminance0.3929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA4FA #FAE58F
analogous
#8FDAFA #8FA4FA #B08FFA
triadic
#8FA4FA #FA8FA4 #A4FA8F
tetradic
#8FA4FA #FA8FDA #FAE58F #8FFAB0
square
#8FA4FA #FA8FDA #FAE58F #8FFAB0
split-complementary
#8FA4FA #FAB08F #DAFA8F
monochromatic
#1A45F5 #5474F7 #8FA4FA #CAD4FD #E2E7FE

Accessibility & contrast

On white

2.37
#8FA4FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#8FA4FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA4FA
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA4FA#FFFFFF#000000##000000
##8FA4FA1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFE
Deuteranopia (green-blind)
#7CA4F8
Tritanopia (blue-blind)
#6AB6C3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8fa4fa;
/* rgb */ color: rgb(143, 164, 250);
/* oklch */ color: oklch(73.8% 0.127 272.5);
Tailwind
colors: {
  custom: {
    50: '#b4befc',
    500: '#8fa4fa',
    950: '#000000',
  },
}
SCSS
$custom: #8fa4fa;
$custom-light: #b4befc;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa4fa",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 250
  },
  "hsl": {
    "h": 228.224,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73754,
    "c": 0.12696,
    "h": 272.5
  },
  "luminance": 0.39293
}

Semantic roles & 50–950 ramp

primary
#8FA4FA
secondary
#F6EFD5
accent
#B800E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8FA4FA

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

Preview Lab → · Contrast checker → · Palette generator →

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