#8A9DFF#8A9DFF

#8A9DFF is a light, vivid blue. Relative luminance 0.367; OKLCH L 72.3% C 0.144 H 274.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8A9DFF
RGBrgb(138, 157, 255)
HSLhsl(230, 100%, 77%)
HSVhsv(230, 46%, 100%)
CMYKcmyk(45.9%, 38.4%, 0%, 0%)
CIE-LABlab(67.08, 18.41, -50.87)
CIE-LCHlch(67.08, 54.10, 289.90°)
OKLaboklab(72.3% 0.0099 -0.1436)
OKLCHoklch(72.3% 0.144 274)
XYZxyz(40.5826, 36.7350, 99.5405)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DFF #FFEC8A
analogous
#8AD8FF #8A9DFF #B18AFF
triadic
#8A9DFF #FF8A9D #9DFF8A
tetradic
#8A9DFF #FF8AD8 #FFEC8A #8AFFB1
square
#8A9DFF #FF8AD8 #FFEC8A #8AFFB1
split-complementary
#8A9DFF #FFB18A #D8FF8A
monochromatic
#1036FF #4D6AFF #8A9DFF #C7D0FF #E0E5FF

Accessibility & contrast

On white

2.52
#8A9DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#8A9DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DFF
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DFF#FFFFFF#000000##000000
##8A9DFF1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#6E9FFD
Tritanopia (blue-blind)
#5FB1C2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8a9dff;
/* rgb */ color: rgb(138, 157, 255);
/* oklch */ color: oklch(72.3% 0.144 274.0);
Tailwind
colors: {
  custom: {
    50: '#b1b9ff',
    500: '#8a9dff',
    950: '#000000',
  },
}
SCSS
$custom: #8a9dff;
$custom-light: #b1b9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9dff",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 230.256,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72297,
    "c": 0.14392,
    "h": 274
  },
  "luminance": 0.36737
}

Semantic roles & 50–950 ramp

primary
#8A9DFF
secondary
#F7F2D4
accent
#C000E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A9DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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