#8A9DEB#8A9DEB

#8A9DEB is a light, moderate blue. Relative luminance 0.355; OKLCH L 71.3% C 0.116 H 272.7°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8A9DEB
RGBrgb(138, 157, 235)
HSLhsl(228, 71%, 73%)
HSVhsv(228, 41%, 92%)
CMYKcmyk(41.3%, 33.2%, 0%, 7.8%)
CIE-LABlab(66.15, 12.73, -41.40)
CIE-LCHlch(66.15, 43.32, 287.10°)
OKLaboklab(71.27% 0.0055 -0.116)
OKLCHoklch(71.27% 0.116 272.7)
XYZxyz(37.5290, 35.5135, 83.4585)
Luminance0.3552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DEB #EBD88A
analogous
#8ACEEB #8A9DEB #A78AEB
triadic
#8A9DEB #EB8A9D #9DEB8A
tetradic
#8A9DEB #EB8ACE #EBD88A #8AEBA7
square
#8A9DEB #EB8ACE #EBD88A #8AEBA7
split-complementary
#8A9DEB #EBA78A #CEEB8A
monochromatic
#2547D6 #5671E2 #8A9DEB #BEC9F4 #E5E9FB

Accessibility & contrast

On white

2.59
#8A9DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#8A9DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DEB
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DEB#FFFFFF#000000##000000
##8A9DEB1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EE
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#6AADB9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9deb;
/* rgb */ color: rgb(138, 157, 235);
/* oklch */ color: oklch(71.3% 0.116 272.7);
Tailwind
colors: {
  custom: {
    50: '#b0b9f1',
    500: '#8a9deb',
    950: '#000000',
  },
}
SCSS
$custom: #8a9deb;
$custom-light: #b0b9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9deb",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 235
  },
  "hsl": {
    "h": 228.247,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71274,
    "c": 0.11618,
    "h": 272.7
  },
  "luminance": 0.35515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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