#8A9AF6#8A9AF6

#8A9AF6 is a light, vivid blue. Relative luminance 0.352; OKLCH L 71.2% C 0.135 H 275.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8A9AF6
RGBrgb(138, 154, 246)
HSLhsl(231, 86%, 75%)
HSVhsv(231, 44%, 96%)
CMYKcmyk(43.9%, 37.4%, 0%, 3.5%)
CIE-LABlab(65.88, 17.56, -47.85)
CIE-LCHlch(65.88, 50.97, 290.15°)
OKLaboklab(71.23% 0.0117 -0.1348)
OKLCHoklch(71.23% 0.135 275)
XYZxyz(38.6663, 35.1663, 91.9213)
Luminance0.3517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9AF6 #F6E68A
analogous
#8AD0F6 #8A9AF6 #B08AF6
triadic
#8A9AF6 #F68A9A #9AF68A
tetradic
#8A9AF6 #F68AD0 #F6E68A #8AF6B0
square
#8A9AF6 #F68AD0 #F6E68A #8AF6B0
split-complementary
#8A9AF6 #F6B08A #D0F68A
monochromatic
#1838ED #5169F2 #8A9AF6 #C3CBFA #E3E6FD

Accessibility & contrast

On white

2.61
#8A9AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#8A9AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9AF6
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9AF6#FFFFFF#000000##000000
##8A9AF61.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FA
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#65ADBC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8a9af6;
/* rgb */ color: rgb(138, 154, 246);
/* oklch */ color: oklch(71.2% 0.135 275.0);
Tailwind
colors: {
  custom: {
    50: '#b1b7f9',
    500: '#8a9af6',
    950: '#000000',
  },
}
SCSS
$custom: #8a9af6;
$custom-light: #b1b7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9af6",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 246
  },
  "hsl": {
    "h": 231.111,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71234,
    "c": 0.13531,
    "h": 275
  },
  "luminance": 0.35168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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