#8A9FE5#8A9FE5

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

Color values

HEX#8A9FE5
RGBrgb(138, 159, 229)
HSLhsl(226, 64%, 72%)
HSVhsv(226, 40%, 90%)
CMYKcmyk(39.7%, 30.6%, 0%, 10.2%)
CIE-LABlab(66.41, 9.93, -37.69)
CIE-LCHlch(66.41, 38.98, 284.76°)
OKLaboklab(71.39% 0.0014 -0.1053)
OKLCHoklch(71.39% 0.105 270.8)
XYZxyz(37.0179, 35.8549, 79.0837)
Luminance0.3586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9FE5 #E5D08A
analogous
#8ACDE5 #8A9FE5 #A38AE5
triadic
#8A9FE5 #E58A9F #9FE58A
tetradic
#8A9FE5 #E58ACD #E5D08A #8AE5A3
square
#8A9FE5 #E58ACD #E5D08A #8AE5A3
split-complementary
#8A9FE5 #E5A38A #CDE58A
monochromatic
#2C50C8 #5876DA #8A9FE5 #BCC8F0 #E6EAF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9FE5#FFFFFF#000000##000000
##8A9FE51.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)
#87A6E8
Deuteranopia (green-blind)
#7F9EE3
Tritanopia (blue-blind)
#6DADB8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9fe5;
/* rgb */ color: rgb(138, 159, 229);
/* oklch */ color: oklch(71.4% 0.105 270.8);
Tailwind
colors: {
  custom: {
    50: '#afbbed',
    500: '#8a9fe5',
    950: '#000000',
  },
}
SCSS
$custom: #8a9fe5;
$custom-light: #afbbed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9fe5",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 229
  },
  "hsl": {
    "h": 226.154,
    "s": 63.636,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71391,
    "c": 0.10534,
    "h": 270.8
  },
  "luminance": 0.35857
}

Semantic roles & 50–950 ramp

primary
#8A9FE5
secondary
#F1ECDA
accent
#A21ACB
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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