#8A9CF8#8A9CF8

#8A9CF8 is a light, vivid blue. Relative luminance 0.360; OKLCH L 71.7% C 0.136 H 274.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8A9CF8
RGBrgb(138, 156, 248)
HSLhsl(230, 89%, 76%)
HSVhsv(230, 44%, 97%)
CMYKcmyk(44.4%, 37.1%, 0%, 2.7%)
CIE-LABlab(66.49, 16.98, -47.99)
CIE-LCHlch(66.49, 50.90, 289.48°)
OKLaboklab(71.73% 0.0097 -0.1352)
OKLCHoklch(71.73% 0.136 274.1)
XYZxyz(39.3077, 35.9554, 93.6576)
Luminance0.3596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CF8 #F8E68A
analogous
#8AD3F8 #8A9CF8 #AF8AF8
triadic
#8A9CF8 #F88A9C #9CF88A
tetradic
#8A9CF8 #F88AD3 #F8E68A #8AF8AF
square
#8A9CF8 #F88AD3 #F8E68A #8AF8AF
split-complementary
#8A9CF8 #F8AF8A #D3F88A
monochromatic
#173AF1 #506BF5 #8A9CF8 #C4CDFB #E2E7FD

Accessibility & contrast

On white

2.56
#8A9CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#8A9CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CF8
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CF8#FFFFFF#000000##000000
##8A9CF81.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#719DF6
Tritanopia (blue-blind)
#63AFBE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9cf8;
/* rgb */ color: rgb(138, 156, 248);
/* oklch */ color: oklch(71.7% 0.136 274.1);
Tailwind
colors: {
  custom: {
    50: '#b1b9fb',
    500: '#8a9cf8',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cf8;
$custom-light: #b1b9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cf8",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 248
  },
  "hsl": {
    "h": 230.182,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71732,
    "c": 0.13554,
    "h": 274.1
  },
  "luminance": 0.35958
}

Semantic roles & 50–950 ramp

primary
#8A9CF8
secondary
#F5F0D6
accent
#C000E5
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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