#8A9FEA#8A9FEA

#8A9FEA is a light, moderate blue. Relative luminance 0.361; OKLCH L 71.6% C 0.112 H 271.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8A9FEA
RGBrgb(138, 159, 234)
HSLhsl(227, 70%, 73%)
HSVhsv(227, 41%, 92%)
CMYKcmyk(41%, 32.1%, 0%, 8.2%)
CIE-LABlab(66.63, 11.31, -40.10)
CIE-LCHlch(66.63, 41.67, 285.75°)
OKLaboklab(71.63% 0.0028 -0.1123)
OKLCHoklch(71.63% 0.112 271.4)
XYZxyz(37.7261, 36.1382, 82.8135)
Luminance0.3614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9FEA #EAD58A
analogous
#8ACFEA #8A9FEA #A58AEA
triadic
#8A9FEA #EA8A9F #9FEA8A
tetradic
#8A9FEA #EA8ACF #EAD58A #8AEAA5
square
#8A9FEA #EA8ACF #EAD58A #8AEAA5
split-complementary
#8A9FEA #EAA58A #CFEA8A
monochromatic
#264CD4 #5674E1 #8A9FEA #BECAF3 #E5EAFA

Accessibility & contrast

On white

2.55
#8A9FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#8A9FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9FEA
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9FEA#FFFFFF#000000##000000
##8A9FEA1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A6ED
Deuteranopia (green-blind)
#7D9EE8
Tritanopia (blue-blind)
#6AAEBA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9fea;
/* rgb */ color: rgb(138, 159, 234);
/* oklch */ color: oklch(71.6% 0.112 271.4);
Tailwind
colors: {
  custom: {
    50: '#b0bbf1',
    500: '#8a9fea',
    950: '#000000',
  },
}
SCSS
$custom: #8a9fea;
$custom-light: #b0bbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9fea",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 234
  },
  "hsl": {
    "h": 226.875,
    "s": 69.565,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7163,
    "c": 0.11232,
    "h": 271.4
  },
  "luminance": 0.3614
}

Semantic roles & 50–950 ramp

primary
#8A9FEA
secondary
#F2ECD9
accent
#A814D2
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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