#8A9EEE#8A9EEE

#8A9EEE is a light, moderate blue. Relative luminance 0.360; OKLCH L 71.6% C 0.119 H 272.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8A9EEE
RGBrgb(138, 158, 238)
HSLhsl(228, 75%, 74%)
HSVhsv(228, 42%, 93%)
CMYKcmyk(42%, 33.6%, 0%, 6.7%)
CIE-LABlab(66.54, 13.00, -42.43)
CIE-LCHlch(66.54, 44.38, 287.03°)
OKLaboklab(71.62% 0.005 -0.119)
OKLCHoklch(71.62% 0.119 272.4)
XYZxyz(38.1360, 36.0281, 85.8170)
Luminance0.3603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EEE #EEDA8A
analogous
#8AD0EE #8A9EEE #A88AEE
triadic
#8A9EEE #EE8A9E #9EEE8A
tetradic
#8A9EEE #EE8AD0 #EEDA8A #8AEEA8
square
#8A9EEE #EE8AD0 #EEDA8A #8AEEA8
split-complementary
#8A9EEE #EEA88A #D0EE8A
monochromatic
#2046DD #5572E6 #8A9EEE #BFCAF6 #E4E9FB

Accessibility & contrast

On white

2.56
#8A9EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#8A9EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EEE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EEE#FFFFFF#000000##000000
##8A9EEE1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6F1
Deuteranopia (green-blind)
#799EEC
Tritanopia (blue-blind)
#69AEBB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9eee;
/* rgb */ color: rgb(138, 158, 238);
/* oklch */ color: oklch(71.6% 0.119 272.4);
Tailwind
colors: {
  custom: {
    50: '#b0baf4',
    500: '#8a9eee',
    950: '#000000',
  },
}
SCSS
$custom: #8a9eee;
$custom-light: #b0baf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9eee",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 238
  },
  "hsl": {
    "h": 228,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71624,
    "c": 0.11913,
    "h": 272.4
  },
  "luminance": 0.3603
}

Semantic roles & 50–950 ramp

primary
#8A9EEE
secondary
#F3EDD8
accent
#AF0FD7
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A9EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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