#8A9EEB#8A9EEB

#8A9EEB is a light, moderate blue. Relative luminance 0.359; OKLCH L 71.5% C 0.115 H 272.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8A9EEB
RGBrgb(138, 158, 235)
HSLhsl(228, 71%, 73%)
HSVhsv(228, 41%, 92%)
CMYKcmyk(41.3%, 32.8%, 0%, 7.8%)
CIE-LABlab(66.41, 12.16, -40.99)
CIE-LCHlch(66.41, 42.76, 286.52°)
OKLaboklab(71.48% 0.0043 -0.1149)
OKLCHoklch(71.48% 0.115 272.1)
XYZxyz(37.6989, 35.8533, 83.5151)
Luminance0.3585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EEB #EBD78A
analogous
#8ACEEB #8A9EEB #A68AEB
triadic
#8A9EEB #EB8A9E #9EEB8A
tetradic
#8A9EEB #EB8ACE #EBD78A #8AEBA6
square
#8A9EEB #EB8ACE #EBD78A #8AEBA6
split-complementary
#8A9EEB #EBA68A #CEEB8A
monochromatic
#2549D6 #5673E2 #8A9EEB #BEC9F4 #E5E9FB

Accessibility & contrast

On white

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

On black

8.17
#8A9EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EEB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EEB#FFFFFF#000000##000000
##8A9EEB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EE
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#6AAEBA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9eeb;
/* rgb */ color: rgb(138, 158, 235);
/* oklch */ color: oklch(71.5% 0.115 272.1);
Tailwind
colors: {
  custom: {
    50: '#b0baf1',
    500: '#8a9eeb',
    950: '#000000',
  },
}
SCSS
$custom: #8a9eeb;
$custom-light: #b0baf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9eeb",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 235
  },
  "hsl": {
    "h": 227.629,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71476,
    "c": 0.11495,
    "h": 272.1
  },
  "luminance": 0.35855
}

Semantic roles & 50–950 ramp

primary
#8A9EEB
secondary
#F2EDD9
accent
#AB13D3
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A9EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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