#8AA6FC#8AA6FC

#8AA6FC is a light, vivid blue. Relative luminance 0.397; OKLCH L 73.9% C 0.129 H 269.4°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8AA6FC
RGBrgb(138, 166, 252)
HSLhsl(225, 95%, 76%)
HSVhsv(225, 45%, 99%)
CMYKcmyk(45.2%, 34.1%, 0%, 1.2%)
CIE-LABlab(69.26, 12.39, -45.81)
CIE-LCHlch(69.26, 47.45, 285.14°)
OKLaboklab(73.93% -0.0014 -0.1288)
OKLCHoklch(73.93% 0.129 269.4)
XYZxyz(41.6826, 39.7016, 97.5434)
Luminance0.3970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA6FC #FCE08A
analogous
#8ADFFC #8AA6FC #A78AFC
triadic
#8AA6FC #FC8AA6 #A6FC8A
tetradic
#8AA6FC #FC8ADF #FCE08A #8AFCA7
square
#8AA6FC #FC8ADF #FCE08A #8AFCA7
split-complementary
#8AA6FC #FCA78A #DFFC8A
monochromatic
#134BF9 #4E79FA #8AA6FC #C6D3FE #E1E8FE

Accessibility & contrast

On white

2.35
#8AA6FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#8AA6FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA6FC
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA6FC#FFFFFF#000000##000000
##8AA6FC1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#7BA5FA
Tritanopia (blue-blind)
#60B8C5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8aa6fc;
/* rgb */ color: rgb(138, 166, 252);
/* oklch */ color: oklch(73.9% 0.129 269.4);
Tailwind
colors: {
  custom: {
    50: '#b1c0fd',
    500: '#8aa6fc',
    950: '#000000',
  },
}
SCSS
$custom: #8aa6fc;
$custom-light: #b1c0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa6fc",
  "rgb": {
    "r": 138,
    "g": 166,
    "b": 252
  },
  "hsl": {
    "h": 225.263,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73931,
    "c": 0.12881,
    "h": 269.4
  },
  "luminance": 0.39704
}

Semantic roles & 50–950 ramp

primary
#8AA6FC
secondary
#F6EED5
accent
#AD00E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8AA6FC

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

Preview Lab → · Contrast checker → · Palette generator →

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