#8FA5FA#8FA5FA

#8FA5FA is a light, vivid blue. Relative luminance 0.397; OKLCH L 74.0% C 0.126 H 272.0°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8FA5FA
RGBrgb(143, 165, 250)
HSLhsl(228, 91%, 77%)
HSVhsv(228, 43%, 98%)
CMYKcmyk(42.8%, 34%, 0%, 2%)
CIE-LABlab(69.22, 13.61, -44.76)
CIE-LCHlch(69.22, 46.78, 286.92°)
OKLaboklab(73.95% 0.0044 -0.1257)
OKLCHoklch(73.95% 0.126 272)
XYZxyz(42.0328, 39.6498, 95.8623)
Luminance0.3965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA5FA #FAE48F
analogous
#8FDAFA #8FA5FA #AF8FFA
triadic
#8FA5FA #FA8FA5 #A5FA8F
tetradic
#8FA5FA #FA8FDA #FAE48F #8FFAAF
square
#8FA5FA #FA8FDA #FAE48F #8FFAAF
split-complementary
#8FA5FA #FAAF8F #DAFA8F
monochromatic
#1A47F5 #5476F7 #8FA5FA #CAD4FD #E2E7FE

Accessibility & contrast

On white

2.35
#8FA5FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#8FA5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA5FA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA5FA#FFFFFF#000000##000000
##8FA5FA1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFD
Deuteranopia (green-blind)
#7DA5F8
Tritanopia (blue-blind)
#6AB6C4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8fa5fa;
/* rgb */ color: rgb(143, 165, 250);
/* oklch */ color: oklch(74.0% 0.126 272.0);
Tailwind
colors: {
  custom: {
    50: '#b4bffc',
    500: '#8fa5fa',
    950: '#000000',
  },
}
SCSS
$custom: #8fa5fa;
$custom-light: #b4bffc;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa5fa",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 227.664,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73953,
    "c": 0.12574,
    "h": 272
  },
  "luminance": 0.39652
}

Semantic roles & 50–950 ramp

primary
#8FA5FA
secondary
#F6EFD5
accent
#B600E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8FA5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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