#8A9EF4#8A9EF4

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

Color values

HEX#8A9EF4
RGBrgb(138, 158, 244)
HSLhsl(229, 83%, 75%)
HSVhsv(229, 43%, 96%)
CMYKcmyk(43.4%, 35.2%, 0%, 4.3%)
CIE-LABlab(66.81, 14.69, -45.29)
CIE-LCHlch(66.81, 47.61, 287.97°)
OKLaboklab(71.92% 0.0064 -0.1273)
OKLCHoklch(71.92% 0.127 272.9)
XYZxyz(39.0322, 36.3866, 90.5370)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EF4 #F4E08A
analogous
#8AD3F4 #8A9EF4 #AB8AF4
triadic
#8A9EF4 #F48A9E #9EF48A
tetradic
#8A9EF4 #F48AD3 #F4E08A #8AF4AB
square
#8A9EF4 #F48AD3 #F4E08A #8AF4AB
split-complementary
#8A9EF4 #F4AB8A #D3F48A
monochromatic
#1A41E9 #5270EF #8A9EF4 #C2CCF9 #E3E8FC

Accessibility & contrast

On white

2.54
#8A9EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#8A9EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EF4
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EF4#FFFFFF#000000##000000
##8A9EF41.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA7F7
Deuteranopia (green-blind)
#769EF2
Tritanopia (blue-blind)
#65B0BE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8a9ef4;
/* rgb */ color: rgb(138, 158, 244);
/* oklch */ color: oklch(71.9% 0.127 272.9);
Tailwind
colors: {
  custom: {
    50: '#b0baf8',
    500: '#8a9ef4',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ef4;
$custom-light: #b0baf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ef4",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 244
  },
  "hsl": {
    "h": 228.679,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71924,
    "c": 0.12748,
    "h": 272.9
  },
  "luminance": 0.36389
}

Semantic roles & 50–950 ramp

primary
#8A9EF4
secondary
#F4EFD7
accent
#B606DF
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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