#8BA2F7#8BA2F7

#8BA2F7 is a light, vivid blue. Relative luminance 0.380; OKLCH L 72.9% C 0.126 H 271.5°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8BA2F7
RGBrgb(139, 162, 247)
HSLhsl(227, 87%, 76%)
HSVhsv(227, 44%, 97%)
CMYKcmyk(43.7%, 34.4%, 0%, 3.1%)
CIE-LABlab(68.05, 13.49, -44.97)
CIE-LCHlch(68.05, 46.95, 286.70°)
OKLaboklab(72.94% 0.0032 -0.1264)
OKLCHoklch(72.94% 0.126 271.5)
XYZxyz(40.3511, 38.0429, 93.1945)
Luminance0.3805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA2F7 #F7E08B
analogous
#8BD8F7 #8BA2F7 #AA8BF7
triadic
#8BA2F7 #F78BA2 #A2F78B
tetradic
#8BA2F7 #F78BD8 #F7E08B #8BF7AA
square
#8BA2F7 #F78BD8 #F7E08B #8BF7AA
split-complementary
#8BA2F7 #F7AA8B #D8F78B
monochromatic
#1846EF #5274F3 #8BA2F7 #C4D0FB #E2E8FD

Accessibility & contrast

On white

2.44
#8BA2F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#8BA2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA2F7
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA2F7#FFFFFF#000000##000000
##8BA2F71.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ABFA
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#65B3C1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ba2f7;
/* rgb */ color: rgb(139, 162, 247);
/* oklch */ color: oklch(72.9% 0.126 271.5);
Tailwind
colors: {
  custom: {
    50: '#b1bdfa',
    500: '#8ba2f7',
    950: '#000000',
  },
}
SCSS
$custom: #8ba2f7;
$custom-light: #b1bdfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba2f7",
  "rgb": {
    "r": 139,
    "g": 162,
    "b": 247
  },
  "hsl": {
    "h": 227.222,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72941,
    "c": 0.12642,
    "h": 271.5
  },
  "luminance": 0.38045
}

Semantic roles & 50–950 ramp

primary
#8BA2F7
secondary
#F5EED6
accent
#B402E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8BA2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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