#8A9DF6#8A9DF6

#8A9DF6 is a light, vivid blue. Relative luminance 0.362; OKLCH L 71.8% C 0.132 H 273.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8A9DF6
RGBrgb(138, 157, 246)
HSLhsl(229, 86%, 75%)
HSVhsv(229, 44%, 96%)
CMYKcmyk(43.9%, 36.2%, 0%, 3.5%)
CIE-LABlab(66.65, 15.83, -46.64)
CIE-LCHlch(66.65, 49.25, 288.75°)
OKLaboklab(71.83% 0.0081 -0.1312)
OKLCHoklch(71.83% 0.132 273.5)
XYZxyz(39.1676, 36.1690, 92.0884)
Luminance0.3617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DF6 #F6E38A
analogous
#8AD3F6 #8A9DF6 #AD8AF6
triadic
#8A9DF6 #F68A9D #9DF68A
tetradic
#8A9DF6 #F68AD3 #F6E38A #8AF6AD
square
#8A9DF6 #F68AD3 #F6E38A #8AF6AD
split-complementary
#8A9DF6 #F6AD8A #D3F68A
monochromatic
#183EED #516DF2 #8A9DF6 #C3CDFA #E3E7FD

Accessibility & contrast

On white

2.55
#8A9DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#8A9DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DF6
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DF6#FFFFFF#000000##000000
##8A9DF61.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA7FA
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#64AFBE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9df6;
/* rgb */ color: rgb(138, 157, 246);
/* oklch */ color: oklch(71.8% 0.132 273.5);
Tailwind
colors: {
  custom: {
    50: '#b1b9f9',
    500: '#8a9df6',
    950: '#000000',
  },
}
SCSS
$custom: #8a9df6;
$custom-light: #b1b9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9df6",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 246
  },
  "hsl": {
    "h": 229.444,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71827,
    "c": 0.1315,
    "h": 273.5
  },
  "luminance": 0.36171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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