#8A9EEF#8A9EEF

#8A9EEF is a light, vivid blue. Relative luminance 0.361; OKLCH L 71.7% C 0.121 H 272.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8A9EEF
RGBrgb(138, 158, 239)
HSLhsl(228, 76%, 74%)
HSVhsv(228, 42%, 94%)
CMYKcmyk(42.3%, 33.9%, 0%, 6.3%)
CIE-LABlab(66.59, 13.28, -42.91)
CIE-LCHlch(66.59, 44.92, 287.20°)
OKLaboklab(71.67% 0.0052 -0.1204)
OKLCHoklch(71.67% 0.121 272.5)
XYZxyz(38.2833, 36.0870, 86.5929)
Luminance0.3609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EEF #EFDB8A
analogous
#8AD1EF #8A9EEF #A98AEF
triadic
#8A9EEF #EF8A9E #9EEF8A
tetradic
#8A9EEF #EF8AD1 #EFDB8A #8AEFA9
square
#8A9EEF #EF8AD1 #EFDB8A #8AEFA9
split-complementary
#8A9EEF #EFA98A #D1EF8A
monochromatic
#1F45E0 #5471E8 #8A9EEF #C0CBF6 #E4E9FB

Accessibility & contrast

On white

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

On black

8.22
#8A9EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EEF
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EEF#FFFFFF#000000##000000
##8A9EEF1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6F2
Deuteranopia (green-blind)
#799EED
Tritanopia (blue-blind)
#68AEBC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9eef;
/* rgb */ color: rgb(138, 158, 239);
/* oklch */ color: oklch(71.7% 0.121 272.5);
Tailwind
colors: {
  custom: {
    50: '#b0baf4',
    500: '#8a9eef',
    950: '#000000',
  },
}
SCSS
$custom: #8a9eef;
$custom-light: #b0baf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9eef",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 239
  },
  "hsl": {
    "h": 228.119,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71673,
    "c": 0.12052,
    "h": 272.5
  },
  "luminance": 0.36089
}

Semantic roles & 50–950 ramp

primary
#8A9EEF
secondary
#F3EED8
accent
#B00DD8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A9EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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