#8FA5FF#8FA5FF

#8FA5FF is a light, vivid blue. Relative luminance 0.400; OKLCH L 74.2% C 0.133 H 272.4°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8FA5FF
RGBrgb(143, 165, 255)
HSLhsl(228, 100%, 78%)
HSVhsv(228, 44%, 100%)
CMYKcmyk(43.9%, 35.3%, 0%, 0%)
CIE-LABlab(69.45, 15.02, -47.11)
CIE-LCHlch(69.45, 49.45, 287.68°)
OKLaboklab(74.2% 0.0055 -0.1325)
OKLCHoklch(74.2% 0.133 272.4)
XYZxyz(42.8272, 39.9676, 100.0462)
Luminance0.3997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA5FF #FFE98F
analogous
#8FDDFF #8FA5FF #B18FFF
triadic
#8FA5FF #FF8FA5 #A5FF8F
tetradic
#8FA5FF #FF8FDD #FFE98F #8FFFB1
square
#8FA5FF #FF8FDD #FFE98F #8FFFB1
split-complementary
#8FA5FF #FFB18F #DDFF8F
monochromatic
#1543FF #5274FF #8FA5FF #CCD6FF #E0E6FF

Accessibility & contrast

On white

2.33
#8FA5FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#8FA5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA5FF
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA5FF#FFFFFF#000000##000000
##8FA5FF1.002.338.998.99
#FFFFFF2.331.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AFFF
Deuteranopia (green-blind)
#7BA5FD
Tritanopia (blue-blind)
#68B7C6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8fa5ff;
/* rgb */ color: rgb(143, 165, 255);
/* oklch */ color: oklch(74.2% 0.133 272.4);
Tailwind
colors: {
  custom: {
    50: '#b4bfff',
    500: '#8fa5ff',
    950: '#000000',
  },
}
SCSS
$custom: #8fa5ff;
$custom-light: #b4bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa5ff",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 228.214,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.74203,
    "c": 0.13262,
    "h": 272.4
  },
  "luminance": 0.3997
}

Semantic roles & 50–950 ramp

primary
#8FA5FF
secondary
#F7F0D4
accent
#B800E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8FA5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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