#8BA1FA#8BA1FA

#8BA1FA is a light, vivid blue. Relative luminance 0.379; OKLCH L 72.9% C 0.132 H 272.2°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8BA1FA
RGBrgb(139, 161, 250)
HSLhsl(228, 92%, 76%)
HSVhsv(228, 44%, 98%)
CMYKcmyk(44.4%, 35.6%, 0%, 2%)
CIE-LABlab(67.93, 14.92, -46.80)
CIE-LCHlch(67.93, 49.12, 287.68°)
OKLaboklab(72.89% 0.0051 -0.1317)
OKLCHoklch(72.89% 0.132 272.2)
XYZxyz(40.6423, 37.8786, 95.5937)
Luminance0.3788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA1FA #FAE48B
analogous
#8BD9FA #8BA1FA #AD8BFA
triadic
#8BA1FA #FA8BA1 #A1FA8B
tetradic
#8BA1FA #FA8BD9 #FAE48B #8BFAAD
square
#8BA1FA #FA8BD9 #FAE48B #8BFAAD
split-complementary
#8BA1FA #FAAD8B #D9FA8B
monochromatic
#1642F5 #5071F7 #8BA1FA #C6D1FD #E2E7FE

Accessibility & contrast

On white

2.45
#8BA1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#8BA1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA1FA
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA1FA#FFFFFF#000000##000000
##8BA1FA1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFE
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#63B3C2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ba1fa;
/* rgb */ color: rgb(139, 161, 250);
/* oklch */ color: oklch(72.9% 0.132 272.2);
Tailwind
colors: {
  custom: {
    50: '#b1bcfc',
    500: '#8ba1fa',
    950: '#000000',
  },
}
SCSS
$custom: #8ba1fa;
$custom-light: #b1bcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba1fa",
  "rgb": {
    "r": 139,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 228.108,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72893,
    "c": 0.13178,
    "h": 272.2
  },
  "luminance": 0.37881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8BA1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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