#8A99E1#8A99E1

#8A99E1 is a light, moderate blue. Relative luminance 0.336; OKLCH L 70.0% C 0.107 H 274.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8A99E1
RGBrgb(138, 153, 225)
HSLhsl(230, 59%, 71%)
HSVhsv(230, 39%, 88%)
CMYKcmyk(38.7%, 32%, 0%, 11.8%)
CIE-LABlab(64.66, 12.27, -38.22)
CIE-LCHlch(64.66, 40.14, 287.80°)
OKLaboklab(69.98% 0.0081 -0.1068)
OKLCHoklch(69.98% 0.107 274.3)
XYZxyz(35.4590, 33.6204, 75.8406)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A99E1 #E1D28A
analogous
#8AC4E1 #8A99E1 #A68AE1
triadic
#8A99E1 #E18A99 #99E18A
tetradic
#8A99E1 #E18AC4 #E1D28A #8AE1A6
square
#8A99E1 #E18AC4 #E1D28A #8AE1A6
split-complementary
#8A99E1 #E1A68A #C4E18A
monochromatic
#314ABF #596FD5 #8A99E1 #BBC3ED #E7EAF9

Accessibility & contrast

On white

2.72
#8A99E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#8A99E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A99E1
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A99E1#FFFFFF#000000##000000
##8A99E11.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A1E4
Deuteranopia (green-blind)
#7A9ADF
Tritanopia (blue-blind)
#6FA7B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a99e1;
/* rgb */ color: rgb(138, 153, 225);
/* oklch */ color: oklch(70.0% 0.107 274.3);
Tailwind
colors: {
  custom: {
    50: '#afb6ea',
    500: '#8a99e1',
    950: '#000000',
  },
}
SCSS
$custom: #8a99e1;
$custom-light: #afb6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a99e1",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 225
  },
  "hsl": {
    "h": 229.655,
    "s": 59.184,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6998,
    "c": 0.10715,
    "h": 274.3
  },
  "luminance": 0.33622
}

Semantic roles & 50–950 ramp

primary
#8A99E1
secondary
#EFEBD8
accent
#AA1FC7
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A99E1

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

Preview Lab → · Contrast checker → · Palette generator →

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