#8AAAFA#8AAAFA

#8AAAFA is a light, vivid blue. Relative luminance 0.411; OKLCH L 74.6% C 0.121 H 266.9°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#8AAAFA
RGBrgb(138, 170, 250)
HSLhsl(223, 92%, 76%)
HSVhsv(223, 45%, 98%)
CMYKcmyk(44.8%, 32%, 0%, 2%)
CIE-LABlab(70.21, 9.55, -43.22)
CIE-LCHlch(70.21, 44.27, 282.46°)
OKLaboklab(74.64% -0.0067 -0.1213)
OKLCHoklch(74.64% 0.121 266.9)
XYZxyz(42.1058, 41.0524, 96.1292)
Luminance0.4106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAAFA #FADA8A
analogous
#8AE2FA #8AAAFA #A28AFA
triadic
#8AAAFA #FA8AAA #AAFA8A
tetradic
#8AAAFA #FA8AE2 #FADA8A #8AFAA2
square
#8AAAFA #FA8AE2 #FADA8A #8AFAA2
split-complementary
#8AAAFA #FAA28A #E2FA8A
monochromatic
#1555F5 #4F7FF7 #8AAAFA #C5D5FD #E2EAFE

Accessibility & contrast

On white

2.28
#8AAAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#8AAAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAAFA
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAAFA#FFFFFF#000000##000000
##8AAAFA1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FD
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#60BBC7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8aaafa;
/* rgb */ color: rgb(138, 170, 250);
/* oklch */ color: oklch(74.6% 0.121 266.9);
Tailwind
colors: {
  custom: {
    50: '#b1c3fc',
    500: '#8aaafa',
    950: '#000000',
  },
}
SCSS
$custom: #8aaafa;
$custom-light: #b1c3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaafa",
  "rgb": {
    "r": 138,
    "g": 170,
    "b": 250
  },
  "hsl": {
    "h": 222.857,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74642,
    "c": 0.12147,
    "h": 266.9
  },
  "luminance": 0.41055
}

Semantic roles & 50–950 ramp

primary
#8AAAFA
secondary
#F6EDD5
accent
#A400E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8AAAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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