#8A9EF6#8A9EF6

#8A9EF6 is a light, vivid blue. Relative luminance 0.365; OKLCH L 72.0% C 0.130 H 273.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8A9EF6
RGBrgb(138, 158, 246)
HSLhsl(229, 86%, 75%)
HSVhsv(229, 44%, 96%)
CMYKcmyk(43.9%, 35.8%, 0%, 3.5%)
CIE-LABlab(66.91, 15.26, -46.23)
CIE-LCHlch(66.91, 48.69, 288.26°)
OKLaboklab(72.03% 0.0069 -0.1301)
OKLCHoklch(72.03% 0.13 273)
XYZxyz(39.3375, 36.5087, 92.1450)
Luminance0.3651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EF6 #F6E28A
analogous
#8AD4F6 #8A9EF6 #AC8AF6
triadic
#8A9EF6 #F68A9E #9EF68A
tetradic
#8A9EF6 #F68AD4 #F6E28A #8AF6AC
square
#8A9EF6 #F68AD4 #F6E28A #8AF6AC
split-complementary
#8A9EF6 #F6AC8A #D4F68A
monochromatic
#1840ED #516FF2 #8A9EF6 #C3CDFA #E3E7FD

Accessibility & contrast

On white

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

On black

8.30
#8A9EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EF6
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EF6#FFFFFF#000000##000000
##8A9EF61.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FA
Deuteranopia (green-blind)
#759FF4
Tritanopia (blue-blind)
#64B0BE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8a9ef6;
/* rgb */ color: rgb(138, 158, 246);
/* oklch */ color: oklch(72.0% 0.130 273.0);
Tailwind
colors: {
  custom: {
    50: '#b1baf9',
    500: '#8a9ef6',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ef6;
$custom-light: #b1baf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ef6",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 246
  },
  "hsl": {
    "h": 228.889,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72026,
    "c": 0.13025,
    "h": 273
  },
  "luminance": 0.36511
}

Semantic roles & 50–950 ramp

primary
#8A9EF6
secondary
#F5EFD6
accent
#B903E2
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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