#8A8EE0#8A8EE0

#8A8EE0 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.7% C 0.120 H 280.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8A8EE0
RGBrgb(138, 142, 224)
HSLhsl(237, 58%, 71%)
HSVhsv(237, 38%, 88%)
CMYKcmyk(38.4%, 36.6%, 0%, 12.2%)
CIE-LABlab(61.77, 18.36, -42.20)
CIE-LCHlch(61.77, 46.02, 293.51°)
OKLaboklab(67.74% 0.022 -0.1184)
OKLCHoklch(67.74% 0.12 280.5)
XYZxyz(33.6049, 30.1298, 74.5516)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EE0 #E0DC8A
analogous
#8AB9E0 #8A8EE0 #B18AE0
triadic
#8A8EE0 #E08A8E #8EE08A
tetradic
#8A8EE0 #E08AB9 #E0DC8A #8AE0B1
square
#8A8EE0 #E08AB9 #E0DC8A #8AE0B1
split-complementary
#8A8EE0 #E0B18A #B9E08A
monochromatic
#3239BD #5A5FD3 #8A8EE0 #BABDED #E7E8F9

Accessibility & contrast

On white

2.99
#8A8EE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#8A8EE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EE0
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EE0#FFFFFF#000000##000000
##8A8EE01.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E3
Deuteranopia (green-blind)
#6E92DE
Tritanopia (blue-blind)
#719EAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8ee0;
/* rgb */ color: rgb(138, 142, 224);
/* oklch */ color: oklch(67.7% 0.120 280.5);
Tailwind
colors: {
  custom: {
    50: '#afafea',
    500: '#8a8ee0',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ee0;
$custom-light: #afafea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ee0",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 224
  },
  "hsl": {
    "h": 237.209,
    "s": 58.108,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67735,
    "c": 0.12042,
    "h": 280.5
  },
  "luminance": 0.30131
}

Semantic roles & 50–950 ramp

primary
#8A8EE0
secondary
#EEEDD7
accent
#BE20C6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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