#8A9DFC#8A9DFC

#8A9DFC is a light, vivid blue. Relative luminance 0.365; OKLCH L 72.1% C 0.140 H 273.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8A9DFC
RGBrgb(138, 157, 252)
HSLhsl(230, 95%, 76%)
HSVhsv(230, 45%, 99%)
CMYKcmyk(45.2%, 37.7%, 0%, 1.2%)
CIE-LABlab(66.93, 17.55, -49.47)
CIE-LCHlch(66.93, 52.49, 289.53°)
OKLaboklab(72.14% 0.0093 -0.1395)
OKLCHoklch(72.14% 0.14 273.8)
XYZxyz(40.1034, 36.5433, 97.0170)
Luminance0.3654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DFC #FCE98A
analogous
#8AD6FC #8A9DFC #B08AFC
triadic
#8A9DFC #FC8A9D #9DFC8A
tetradic
#8A9DFC #FC8AD6 #FCE98A #8AFCB0
square
#8A9DFC #FC8AD6 #FCE98A #8AFCB0
split-complementary
#8A9DFC #FCB08A #D6FC8A
monochromatic
#1339F9 #4E6BFA #8A9DFC #C6CFFE #E1E6FE

Accessibility & contrast

On white

2.53
#8A9DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#8A9DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DFC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DFC#FFFFFF#000000##000000
##8A9DFC1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#709EFA
Tritanopia (blue-blind)
#61B1C0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8a9dfc;
/* rgb */ color: rgb(138, 157, 252);
/* oklch */ color: oklch(72.1% 0.140 273.8);
Tailwind
colors: {
  custom: {
    50: '#b1b9fe',
    500: '#8a9dfc',
    950: '#000000',
  },
}
SCSS
$custom: #8a9dfc;
$custom-light: #b1b9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9dfc",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 252
  },
  "hsl": {
    "h": 230,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72138,
    "c": 0.13979,
    "h": 273.8
  },
  "luminance": 0.36545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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