#8A9EF5#8A9EF5

#8A9EF5 is a light, vivid blue. Relative luminance 0.364; OKLCH L 72.0% C 0.129 H 272.9°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8A9EF5
RGBrgb(138, 158, 245)
HSLhsl(229, 84%, 75%)
HSVhsv(229, 44%, 96%)
CMYKcmyk(43.7%, 35.5%, 0%, 3.9%)
CIE-LABlab(66.86, 14.97, -45.76)
CIE-LCHlch(66.86, 48.15, 288.12°)
OKLaboklab(71.97% 0.0066 -0.1287)
OKLCHoklch(71.97% 0.129 272.9)
XYZxyz(39.1844, 36.4475, 91.3389)
Luminance0.3645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EF5 #F5E18A
analogous
#8AD4F5 #8A9EF5 #AB8AF5
triadic
#8A9EF5 #F58A9E #9EF58A
tetradic
#8A9EF5 #F58AD4 #F5E18A #8AF5AB
square
#8A9EF5 #F58AD4 #F5E18A #8AF5AB
split-complementary
#8A9EF5 #F5AB8A #D4F58A
monochromatic
#1941EB #526FF0 #8A9EF5 #C2CDFA #E3E8FD

Accessibility & contrast

On white

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

On black

8.29
#8A9EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EF5
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EF5#FFFFFF#000000##000000
##8A9EF51.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA7F9
Deuteranopia (green-blind)
#759FF3
Tritanopia (blue-blind)
#65B0BE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8a9ef5;
/* rgb */ color: rgb(138, 158, 245);
/* oklch */ color: oklch(72.0% 0.129 272.9);
Tailwind
colors: {
  custom: {
    50: '#b0baf9',
    500: '#8a9ef5',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ef5;
$custom-light: #b0baf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ef5",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 245
  },
  "hsl": {
    "h": 228.785,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71975,
    "c": 0.12886,
    "h": 272.9
  },
  "luminance": 0.3645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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