#8A9EEC#8A9EEC

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

Color values

HEX#8A9EEC
RGBrgb(138, 158, 236)
HSLhsl(228, 72%, 73%)
HSVhsv(228, 42%, 93%)
CMYKcmyk(41.5%, 33.1%, 0%, 7.5%)
CIE-LABlab(66.45, 12.44, -41.47)
CIE-LCHlch(66.45, 43.30, 286.70°)
OKLaboklab(71.53% 0.0045 -0.1162)
OKLCHoklch(71.53% 0.116 272.2)
XYZxyz(37.8438, 35.9112, 84.2781)
Luminance0.3591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EEC #ECD88A
analogous
#8ACFEC #8A9EEC #A78AEC
triadic
#8A9EEC #EC8A9E #9EEC8A
tetradic
#8A9EEC #EC8ACF #ECD88A #8AECA7
square
#8A9EEC #EC8ACF #ECD88A #8AECA7
split-complementary
#8A9EEC #ECA78A #CFEC8A
monochromatic
#2348D8 #5572E3 #8A9EEC #BFCAF5 #E5E9FB

Accessibility & contrast

On white

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

On black

8.18
#8A9EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EEC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EEC#FFFFFF#000000##000000
##8A9EEC1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EF
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#6AAEBA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9eec;
/* rgb */ color: rgb(138, 158, 236);
/* oklch */ color: oklch(71.5% 0.116 272.2);
Tailwind
colors: {
  custom: {
    50: '#b0baf2',
    500: '#8a9eec',
    950: '#000000',
  },
}
SCSS
$custom: #8a9eec;
$custom-light: #b0baf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9eec",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 236
  },
  "hsl": {
    "h": 227.755,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71525,
    "c": 0.11634,
    "h": 272.2
  },
  "luminance": 0.35913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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