#8A9CF9#8A9CF9

#8A9CF9 is a light, vivid blue. Relative luminance 0.360; OKLCH L 71.8% C 0.137 H 274.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8A9CF9
RGBrgb(138, 156, 249)
HSLhsl(230, 90%, 76%)
HSVhsv(230, 45%, 98%)
CMYKcmyk(44.6%, 37.3%, 0%, 2.4%)
CIE-LABlab(66.53, 17.26, -48.46)
CIE-LCHlch(66.53, 51.44, 289.61°)
OKLaboklab(71.78% 0.0099 -0.1366)
OKLCHoklch(71.78% 0.137 274.2)
XYZxyz(39.4633, 36.0177, 94.4769)
Luminance0.3602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CF9 #F9E78A
analogous
#8AD3F9 #8A9CF9 #AF8AF9
triadic
#8A9CF9 #F98A9C #9CF98A
tetradic
#8A9CF9 #F98AD3 #F9E78A #8AF9AF
square
#8A9CF9 #F98AD3 #F9E78A #8AF9AF
split-complementary
#8A9CF9 #F9AF8A #D3F98A
monochromatic
#1639F3 #506BF6 #8A9CF9 #C4CDFC #E2E6FE

Accessibility & contrast

On white

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

On black

8.20
#8A9CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CF9
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CF9#FFFFFF#000000##000000
##8A9CF91.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FD
Deuteranopia (green-blind)
#709EF7
Tritanopia (blue-blind)
#63AFBF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9cf9;
/* rgb */ color: rgb(138, 156, 249);
/* oklch */ color: oklch(71.8% 0.137 274.2);
Tailwind
colors: {
  custom: {
    50: '#b1b9fb',
    500: '#8a9cf9',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cf9;
$custom-light: #b1b9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cf9",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 249
  },
  "hsl": {
    "h": 230.27,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71784,
    "c": 0.13692,
    "h": 274.2
  },
  "luminance": 0.3602
}

Semantic roles & 50–950 ramp

primary
#8A9CF9
secondary
#F6F0D5
accent
#C000E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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