#8A9BFA#8A9BFA

#8A9BFA is a light, vivid blue. Relative luminance 0.357; OKLCH L 71.6% C 0.140 H 274.7°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8A9BFA
RGBrgb(138, 155, 250)
HSLhsl(231, 92%, 76%)
HSVhsv(231, 45%, 98%)
CMYKcmyk(44.8%, 38%, 0%, 2%)
CIE-LABlab(66.33, 18.13, -49.33)
CIE-LCHlch(66.33, 52.56, 290.17°)
OKLaboklab(71.64% 0.0113 -0.1391)
OKLCHoklch(71.64% 0.14 274.7)
XYZxyz(39.4526, 35.7460, 95.2448)
Luminance0.3575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9BFA #FAE98A
analogous
#8AD3FA #8A9BFA #B18AFA
triadic
#8A9BFA #FA8A9B #9BFA8A
tetradic
#8A9BFA #FA8AD3 #FAE98A #8AFAB1
square
#8A9BFA #FA8AD3 #FAE98A #8AFAB1
split-complementary
#8A9BFA #FAB18A #D3FA8A
monochromatic
#1537F5 #4F69F7 #8A9BFA #C5CDFD #E2E6FE

Accessibility & contrast

On white

2.58
#8A9BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#8A9BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9BFA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9BFA#FFFFFF#000000##000000
##8A9BFA1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#62AFBF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9bfa;
/* rgb */ color: rgb(138, 155, 250);
/* oklch */ color: oklch(71.6% 0.140 274.7);
Tailwind
colors: {
  custom: {
    50: '#b1b8fc',
    500: '#8a9bfa',
    950: '#000000',
  },
}
SCSS
$custom: #8a9bfa;
$custom-light: #b1b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9bfa",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 250
  },
  "hsl": {
    "h": 230.893,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7164,
    "c": 0.13957,
    "h": 274.7
  },
  "luminance": 0.35748
}

Semantic roles & 50–950 ramp

primary
#8A9BFA
secondary
#F6F1D5
accent
#C300E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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