#8A99CC#8A99CC

#8A99CC is a light, moderate blue. Relative luminance 0.325; OKLCH L 69.0% C 0.077 H 271.6°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8A99CC
RGBrgb(138, 153, 204)
HSLhsl(226, 39%, 67%)
HSVhsv(226, 32%, 80%)
CMYKcmyk(32.4%, 25%, 0%, 20%)
CIE-LABlab(63.79, 6.67, -27.91)
CIE-LCHlch(63.79, 28.69, 283.45°)
OKLaboklab(69.02% 0.0022 -0.0772)
OKLCHoklch(69.02% 0.077 271.6)
XYZxyz(32.7684, 32.5442, 61.6702)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A99CC #CCBD8A
analogous
#8ABACC #8A99CC #9C8ACC
triadic
#8A99CC #CC8A99 #99CC8A
tetradic
#8A99CC #CC8ABA #CCBD8A #8ACC9C
square
#8A99CC #CC8ABA #CCBD8A #8ACC9C
split-complementary
#8A99CC #CC9C8A #BACC8A
monochromatic
#435699 #5F74B9 #8A99CC #B5BEDF #DFE3F1

Accessibility & contrast

On white

2.80
#8A99CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#8A99CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A99CC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A99CC#FFFFFF#000000##000000
##8A99CC1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#899DCE
Deuteranopia (green-blind)
#8498CB
Tritanopia (blue-blind)
#78A3AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a99cc;
/* rgb */ color: rgb(138, 153, 204);
/* oklch */ color: oklch(69.0% 0.077 271.6);
Tailwind
colors: {
  custom: {
    50: '#aeb6db',
    500: '#8a99cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a99cc;
$custom-light: #aeb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a99cc",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 204
  },
  "hsl": {
    "h": 226.364,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69018,
    "c": 0.07728,
    "h": 271.6
  },
  "luminance": 0.32545
}

Semantic roles & 50–950 ramp

primary
#8A99CC
secondary
#E3DFCE
accent
#9533B2
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A99CC

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

Preview Lab → · Contrast checker → · Palette generator →

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