#8BA1FE#8BA1FE

#8BA1FE is a light, vivid blue. Relative luminance 0.381; OKLCH L 73.1% C 0.137 H 272.5°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8BA1FE
RGBrgb(139, 161, 254)
HSLhsl(229, 98%, 77%)
HSVhsv(229, 45%, 100%)
CMYKcmyk(45.3%, 36.6%, 0%, 0.4%)
CIE-LABlab(68.12, 16.06, -48.68)
CIE-LCHlch(68.12, 51.26, 288.26°)
OKLaboklab(73.1% 0.006 -0.1372)
OKLCHoklch(73.1% 0.137 272.5)
XYZxyz(41.2761, 38.1322, 98.9320)
Luminance0.3813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA1FE #FEE88B
analogous
#8BDAFE #8BA1FE #AF8BFE
triadic
#8BA1FE #FE8BA1 #A1FE8B
tetradic
#8BA1FE #FE8BDA #FEE88B #8BFEAF
square
#8BA1FE #FE8BDA #FEE88B #8BFEAF
split-complementary
#8BA1FE #FEAF8B #DAFE8B
monochromatic
#123FFD #4E70FD #8BA1FE #C8D2FF #E1E6FF

Accessibility & contrast

On white

2.43
#8BA1FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#8BA1FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA1FE
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA1FE#FFFFFF#000000##000000
##8BA1FE1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#74A2FC
Tritanopia (blue-blind)
#61B4C3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ba1fe;
/* rgb */ color: rgb(139, 161, 254);
/* oklch */ color: oklch(73.1% 0.137 272.5);
Tailwind
colors: {
  custom: {
    50: '#b2bcff',
    500: '#8ba1fe',
    950: '#000000',
  },
}
SCSS
$custom: #8ba1fe;
$custom-light: #b2bcff;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba1fe",
  "rgb": {
    "r": 139,
    "g": 161,
    "b": 254
  },
  "hsl": {
    "h": 228.522,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73098,
    "c": 0.13729,
    "h": 272.5
  },
  "luminance": 0.38134
}

Semantic roles & 50–950 ramp

primary
#8BA1FE
secondary
#F7F0D4
accent
#BA00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8BA1FE

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

Preview Lab → · Contrast checker → · Palette generator →

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