#8AAAFE#8AAAFE

#8AAAFE is a light, vivid blue. Relative luminance 0.413; OKLCH L 74.8% C 0.127 H 267.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#8AAAFE
RGBrgb(138, 170, 254)
HSLhsl(223, 98%, 77%)
HSVhsv(223, 46%, 100%)
CMYKcmyk(45.7%, 33.1%, 0%, 0.4%)
CIE-LABlab(70.39, 10.69, -45.11)
CIE-LCHlch(70.39, 46.36, 283.33°)
OKLaboklab(74.84% -0.0057 -0.1268)
OKLCHoklch(74.84% 0.127 267.4)
XYZxyz(42.7396, 41.3059, 99.4675)
Luminance0.4131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAAFE #FEDE8A
analogous
#8AE4FE #8AAAFE #A48AFE
triadic
#8AAAFE #FE8AAA #AAFE8A
tetradic
#8AAAFE #FE8AE4 #FEDE8A #8AFEA4
square
#8AAAFE #FE8AE4 #FEDE8A #8AFEA4
split-complementary
#8AAAFE #FEA48A #E4FE8A
monochromatic
#1152FD #4D7EFD #8AAAFE #C7D6FF #E1E9FF

Accessibility & contrast

On white

2.27
#8AAAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#8AAAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAAFE
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAAFE#FFFFFF#000000##000000
##8AAAFE1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#7FA7FC
Tritanopia (blue-blind)
#5EBCC8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8aaafe;
/* rgb */ color: rgb(138, 170, 254);
/* oklch */ color: oklch(74.8% 0.127 267.4);
Tailwind
colors: {
  custom: {
    50: '#b1c3ff',
    500: '#8aaafe',
    950: '#000000',
  },
}
SCSS
$custom: #8aaafe;
$custom-light: #b1c3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaafe",
  "rgb": {
    "r": 138,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 223.448,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74838,
    "c": 0.1269,
    "h": 267.4
  },
  "luminance": 0.41308
}

Semantic roles & 50–950 ramp

primary
#8AAAFE
secondary
#F7EDD4
accent
#A600E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8AAAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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