#8A9AE4#8A9AE4

#8A9AE4 is a light, moderate blue. Relative luminance 0.341; OKLCH L 70.3% C 0.110 H 273.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8A9AE4
RGBrgb(138, 154, 228)
HSLhsl(229, 63%, 72%)
HSVhsv(229, 39%, 89%)
CMYKcmyk(39.5%, 32.5%, 0%, 10.6%)
CIE-LABlab(65.05, 12.52, -39.26)
CIE-LCHlch(65.05, 41.21, 287.68°)
OKLaboklab(70.33% 0.0076 -0.1099)
OKLCHoklch(70.33% 0.11 273.9)
XYZxyz(36.0362, 34.1143, 78.0697)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9AE4 #E4D48A
analogous
#8AC7E4 #8A9AE4 #A78AE4
triadic
#8A9AE4 #E48A9A #9AE48A
tetradic
#8A9AE4 #E48AC7 #E4D48A #8AE4A7
square
#8A9AE4 #E48AC7 #E4D48A #8AE4A7
split-complementary
#8A9AE4 #E4A78A #C7E48A
monochromatic
#2E49C6 #586FD9 #8A9AE4 #BCC5EF #E6EAF9

Accessibility & contrast

On white

2.68
#8A9AE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#8A9AE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9AE4
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9AE4#FFFFFF#000000##000000
##8A9AE41.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A2E7
Deuteranopia (green-blind)
#7A9AE2
Tritanopia (blue-blind)
#6EA9B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9ae4;
/* rgb */ color: rgb(138, 154, 228);
/* oklch */ color: oklch(70.3% 0.110 273.9);
Tailwind
colors: {
  custom: {
    50: '#afb7ed',
    500: '#8a9ae4',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ae4;
$custom-light: #afb7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ae4",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 228
  },
  "hsl": {
    "h": 229.333,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70327,
    "c": 0.11012,
    "h": 273.9
  },
  "luminance": 0.34116
}

Semantic roles & 50–950 ramp

primary
#8A9AE4
secondary
#F0ECD9
accent
#AB1BCA
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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