#8A99DF#8A99DF

#8A99DF is a light, moderate blue. Relative luminance 0.335; OKLCH L 69.9% C 0.104 H 274.2°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8A99DF
RGBrgb(138, 153, 223)
HSLhsl(229, 57%, 71%)
HSVhsv(229, 38%, 87%)
CMYKcmyk(38.1%, 31.4%, 0%, 12.5%)
CIE-LABlab(64.57, 11.72, -37.25)
CIE-LCHlch(64.57, 39.05, 287.47°)
OKLaboklab(69.88% 0.0076 -0.104)
OKLCHoklch(69.88% 0.104 274.2)
XYZxyz(35.1878, 33.5119, 74.4121)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A99DF #DFD08A
analogous
#8AC3DF #8A99DF #A58ADF
triadic
#8A99DF #DF8A99 #99DF8A
tetradic
#8A99DF #DF8AC3 #DFD08A #8ADFA5
square
#8A99DF #DF8AC3 #DFD08A #8ADFA5
split-complementary
#8A99DF #DFA58A #C3DF8A
monochromatic
#334BBB #5A6FD2 #8A99DF #BAC3EC #E7EAF8

Accessibility & contrast

On white

2.73
#8A99DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#8A99DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A99DF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A99DF#FFFFFF#000000##000000
##8A99DF1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A0E2
Deuteranopia (green-blind)
#7B99DD
Tritanopia (blue-blind)
#70A7B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a99df;
/* rgb */ color: rgb(138, 153, 223);
/* oklch */ color: oklch(69.9% 0.104 274.2);
Tailwind
colors: {
  custom: {
    50: '#afb6e9',
    500: '#8a99df',
    950: '#000000',
  },
}
SCSS
$custom: #8a99df;
$custom-light: #afb6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a99df",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 229.412,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69884,
    "c": 0.10431,
    "h": 274.2
  },
  "luminance": 0.33513
}

Semantic roles & 50–950 ramp

primary
#8A99DF
secondary
#EEEAD7
accent
#A821C5
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A99DF

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

Preview Lab → · Contrast checker → · Palette generator →

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