#8A99CF#8A99CF

#8A99CF is a light, moderate blue. Relative luminance 0.327; OKLCH L 69.2% C 0.082 H 272.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8A99CF
RGBrgb(138, 153, 207)
HSLhsl(227, 42%, 68%)
HSVhsv(227, 33%, 81%)
CMYKcmyk(33.3%, 26.1%, 0%, 18.8%)
CIE-LABlab(63.91, 7.45, -29.40)
CIE-LCHlch(63.91, 30.33, 284.23°)
OKLaboklab(69.15% 0.0031 -0.0815)
OKLCHoklch(69.15% 0.082 272.2)
XYZxyz(33.1317, 32.6895, 63.5834)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A99CF #CFC08A
analogous
#8ABBCF #8A99CF #9E8ACF
triadic
#8A99CF #CF8A99 #99CF8A
tetradic
#8A99CF #CF8ABB #CFC08A #8ACF9E
square
#8A99CF #CF8ABB #CFC08A #8ACF9E
split-complementary
#8A99CF #CF9E8A #BBCF8A
monochromatic
#41559E #5F73BD #8A99CF #B5BFE1 #E1E5F3

Accessibility & contrast

On white

2.79
#8A99CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#8A99CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A99CF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A99CF#FFFFFF#000000##000000
##8A99CF1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#889ED1
Deuteranopia (green-blind)
#8398CE
Tritanopia (blue-blind)
#77A3AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a99cf;
/* rgb */ color: rgb(138, 153, 207);
/* oklch */ color: oklch(69.2% 0.082 272.2);
Tailwind
colors: {
  custom: {
    50: '#aeb6de',
    500: '#8a99cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a99cf;
$custom-light: #aeb6de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a99cf",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 207
  },
  "hsl": {
    "h": 226.957,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6915,
    "c": 0.08156,
    "h": 272.2
  },
  "luminance": 0.32691
}

Semantic roles & 50–950 ramp

primary
#8A99CF
secondary
#E5E0D0
accent
#9831B5
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A99CF

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

Preview Lab → · Contrast checker → · Palette generator →

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