#8A99E4#8A99E4

#8A99E4 is a light, moderate blue. Relative luminance 0.338; OKLCH L 70.1% C 0.111 H 274.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8A99E4
RGBrgb(138, 153, 228)
HSLhsl(230, 63%, 72%)
HSVhsv(230, 39%, 89%)
CMYKcmyk(39.5%, 32.9%, 0%, 10.6%)
CIE-LABlab(64.79, 13.09, -39.67)
CIE-LCHlch(64.79, 41.77, 288.26°)
OKLaboklab(70.13% 0.0088 -0.111)
OKLCHoklch(70.13% 0.111 274.5)
XYZxyz(35.8719, 33.7856, 78.0149)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A99E4 #E4D58A
analogous
#8AC6E4 #8A99E4 #A88AE4
triadic
#8A99E4 #E48A99 #99E48A
tetradic
#8A99E4 #E48AC6 #E4D58A #8AE4A8
square
#8A99E4 #E48AC6 #E4D58A #8AE4A8
split-complementary
#8A99E4 #E4A88A #C6E48A
monochromatic
#2E47C6 #586ED9 #8A99E4 #BCC4EF #E6E9F9

Accessibility & contrast

On white

2.71
#8A99E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#8A99E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A99E4
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A99E4#FFFFFF#000000##000000
##8A99E41.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A1E7
Deuteranopia (green-blind)
#799AE2
Tritanopia (blue-blind)
#6EA8B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a99e4;
/* rgb */ color: rgb(138, 153, 228);
/* oklch */ color: oklch(70.1% 0.111 274.5);
Tailwind
colors: {
  custom: {
    50: '#afb6ed',
    500: '#8a99e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a99e4;
$custom-light: #afb6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a99e4",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 228
  },
  "hsl": {
    "h": 230,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70125,
    "c": 0.11139,
    "h": 274.5
  },
  "luminance": 0.33787
}

Semantic roles & 50–950 ramp

primary
#8A99E4
secondary
#F0EDD9
accent
#AD1BCA
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A99E4

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

Preview Lab → · Contrast checker → · Palette generator →

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