#8A9CFB#8A9CFB

#8A9CFB is a light, vivid blue. Relative luminance 0.361; OKLCH L 71.9% C 0.140 H 274.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8A9CFB
RGBrgb(138, 156, 251)
HSLhsl(230, 93%, 76%)
HSVhsv(230, 45%, 98%)
CMYKcmyk(45%, 37.8%, 0%, 1.6%)
CIE-LABlab(66.63, 17.84, -49.40)
CIE-LCHlch(66.63, 52.52, 289.85°)
OKLaboklab(71.89% 0.0103 -0.1393)
OKLCHoklch(71.89% 0.14 274.2)
XYZxyz(39.7769, 36.1431, 96.1285)
Luminance0.3614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CFB #FBE98A
analogous
#8AD5FB #8A9CFB #B18AFB
triadic
#8A9CFB #FB8A9C #9CFB8A
tetradic
#8A9CFB #FB8AD5 #FBE98A #8AFBB1
square
#8A9CFB #FB8AD5 #FBE98A #8AFBB1
split-complementary
#8A9CFB #FBB18A #D5FB8A
monochromatic
#1438F7 #4F6AF9 #8A9CFB #C5CEFD #E1E6FE

Accessibility & contrast

On white

2.55
#8A9CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#8A9CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CFB
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CFB#FFFFFF#000000##000000
##8A9CFB1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#6F9EF9
Tritanopia (blue-blind)
#62B0C0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9cfb;
/* rgb */ color: rgb(138, 156, 251);
/* oklch */ color: oklch(71.9% 0.140 274.2);
Tailwind
colors: {
  custom: {
    50: '#b1b9fd',
    500: '#8a9cfb',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cfb;
$custom-light: #b1b9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cfb",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 251
  },
  "hsl": {
    "h": 230.442,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71889,
    "c": 0.13968,
    "h": 274.2
  },
  "luminance": 0.36145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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