#8A9EEA#8A9EEA

#8A9EEA is a light, moderate blue. Relative luminance 0.358; OKLCH L 71.4% C 0.114 H 272.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8A9EEA
RGBrgb(138, 158, 234)
HSLhsl(228, 70%, 73%)
HSVhsv(228, 41%, 92%)
CMYKcmyk(41%, 32.5%, 0%, 8.2%)
CIE-LABlab(66.36, 11.88, -40.51)
CIE-LCHlch(66.36, 42.22, 286.35°)
OKLaboklab(71.43% 0.004 -0.1135)
OKLCHoklch(71.43% 0.114 272)
XYZxyz(37.5548, 35.7957, 82.7564)
Luminance0.3580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EEA #EAD68A
analogous
#8ACEEA #8A9EEA #A68AEA
triadic
#8A9EEA #EA8A9E #9EEA8A
tetradic
#8A9EEA #EA8ACE #EAD68A #8AEAA6
square
#8A9EEA #EA8ACE #EAD68A #8AEAA6
split-complementary
#8A9EEA #EAA68A #CEEA8A
monochromatic
#264AD4 #5673E1 #8A9EEA #BEC9F3 #E5E9FA

Accessibility & contrast

On white

2.57
#8A9EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#8A9EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EEA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EEA#FFFFFF#000000##000000
##8A9EEA1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6ED
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#6BADB9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9eea;
/* rgb */ color: rgb(138, 158, 234);
/* oklch */ color: oklch(71.4% 0.114 272.0);
Tailwind
colors: {
  custom: {
    50: '#b0baf1',
    500: '#8a9eea',
    950: '#000000',
  },
}
SCSS
$custom: #8a9eea;
$custom-light: #b0baf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9eea",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 234
  },
  "hsl": {
    "h": 227.5,
    "s": 69.565,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71428,
    "c": 0.11355,
    "h": 272
  },
  "luminance": 0.35798
}

Semantic roles & 50–950 ramp

primary
#8A9EEA
secondary
#F2EDD9
accent
#AA14D2
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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