#8AABFA#8AABFA

#8AABFA is a light, vivid blue. Relative luminance 0.414; OKLCH L 74.8% C 0.120 H 266.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#8AABFA
RGBrgb(138, 171, 250)
HSLhsl(222, 92%, 76%)
HSVhsv(222, 45%, 98%)
CMYKcmyk(44.8%, 31.6%, 0%, 2%)
CIE-LABlab(70.48, 8.99, -42.81)
CIE-LCHlch(70.48, 43.74, 281.85°)
OKLaboklab(74.85% -0.0079 -0.1201)
OKLCHoklch(74.85% 0.12 266.3)
XYZxyz(42.2939, 41.4287, 96.1919)
Luminance0.4143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AABFA #FAD98A
analogous
#8AE3FA #8AABFA #A18AFA
triadic
#8AABFA #FA8AAB #ABFA8A
tetradic
#8AABFA #FA8AE3 #FAD98A #8AFAA1
square
#8AABFA #FA8AE3 #FAD98A #8AFAA1
split-complementary
#8AABFA #FAA18A #E3FA8A
monochromatic
#1557F5 #4F81F7 #8AABFA #C5D5FD #E2EAFE

Accessibility & contrast

On white

2.26
#8AABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#8AABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AABFA
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AABFA#FFFFFF#000000##000000
##8AABFA1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FD
Deuteranopia (green-blind)
#83A8F8
Tritanopia (blue-blind)
#60BCC7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8aabfa;
/* rgb */ color: rgb(138, 171, 250);
/* oklch */ color: oklch(74.8% 0.120 266.3);
Tailwind
colors: {
  custom: {
    50: '#b1c3fc',
    500: '#8aabfa',
    950: '#000000',
  },
}
SCSS
$custom: #8aabfa;
$custom-light: #b1c3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8aabfa",
  "rgb": {
    "r": 138,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 222.321,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74846,
    "c": 0.12035,
    "h": 266.3
  },
  "luminance": 0.41431
}

Semantic roles & 50–950 ramp

primary
#8AABFA
secondary
#F6ECD5
accent
#A200E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8AABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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