#8A9EFC#8A9EFC

#8A9EFC is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.3% C 0.139 H 273.4°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8A9EFC
RGBrgb(138, 158, 252)
HSLhsl(229, 95%, 76%)
HSVhsv(229, 45%, 99%)
CMYKcmyk(45.2%, 37.3%, 0%, 1.2%)
CIE-LABlab(67.19, 16.97, -49.06)
CIE-LCHlch(67.19, 51.91, 289.08°)
OKLaboklab(72.34% 0.0081 -0.1383)
OKLCHoklch(72.34% 0.139 273.4)
XYZxyz(40.2733, 36.8831, 97.0736)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EFC #FCE88A
analogous
#8AD7FC #8A9EFC #AF8AFC
triadic
#8A9EFC #FC8A9E #9EFC8A
tetradic
#8A9EFC #FC8AD7 #FCE88A #8AFCAF
square
#8A9EFC #FC8AD7 #FCE88A #8AFCAF
split-complementary
#8A9EFC #FCAF8A #D7FC8A
monochromatic
#133BF9 #4E6DFA #8A9EFC #C6CFFE #E1E6FE

Accessibility & contrast

On white

2.51
#8A9EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#8A9EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EFC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EFC#FFFFFF#000000##000000
##8A9EFC1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#61B1C1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8a9efc;
/* rgb */ color: rgb(138, 158, 252);
/* oklch */ color: oklch(72.3% 0.139 273.4);
Tailwind
colors: {
  custom: {
    50: '#b1bafe',
    500: '#8a9efc',
    950: '#000000',
  },
}
SCSS
$custom: #8a9efc;
$custom-light: #b1bafe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9efc",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 252
  },
  "hsl": {
    "h": 229.474,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72336,
    "c": 0.13854,
    "h": 273.4
  },
  "luminance": 0.36885
}

Semantic roles & 50–950 ramp

primary
#8A9EFC
secondary
#F6F1D5
accent
#BD00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A9EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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