#8FA8FE#8FA8FE

#8FA8FE is a light, vivid blue. Relative luminance 0.410; OKLCH L 74.8% C 0.128 H 270.7°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#8FA8FE
RGBrgb(143, 168, 254)
HSLhsl(226, 98%, 78%)
HSVhsv(226, 44%, 100%)
CMYKcmyk(43.7%, 33.9%, 0%, 0.4%)
CIE-LABlab(70.17, 13.03, -45.43)
CIE-LCHlch(70.17, 47.26, 286.00°)
OKLaboklab(74.75% 0.0017 -0.1276)
OKLCHoklch(74.75% 0.128 270.7)
XYZxyz(43.2141, 40.9983, 99.3831)
Luminance0.4100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA8FE #FEE58F
analogous
#8FE0FE #8FA8FE #AD8FFE
triadic
#8FA8FE #FE8FA8 #A8FE8F
tetradic
#8FA8FE #FE8FE0 #FEE58F #8FFEAD
square
#8FA8FE #FE8FE0 #FEE58F #8FFEAD
split-complementary
#8FA8FE #FEAD8F #E0FE8F
monochromatic
#164AFD #5279FD #8FA8FE #CCD7FF #E1E7FF

Accessibility & contrast

On white

2.28
#8FA8FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#8FA8FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA8FE
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA8FE#FFFFFF#000000##000000
##8FA8FE1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#7FA7FC
Tritanopia (blue-blind)
#68BAC7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8fa8fe;
/* rgb */ color: rgb(143, 168, 254);
/* oklch */ color: oklch(74.8% 0.128 270.7);
Tailwind
colors: {
  custom: {
    50: '#b4c1ff',
    500: '#8fa8fe',
    950: '#000000',
  },
}
SCSS
$custom: #8fa8fe;
$custom-light: #b4c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa8fe",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 254
  },
  "hsl": {
    "h": 226.486,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74751,
    "c": 0.12761,
    "h": 270.7
  },
  "luminance": 0.41001
}

Semantic roles & 50–950 ramp

primary
#8FA8FE
secondary
#F7EFD4
accent
#B200E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8FA8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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