#8AABFE#8AABFE

#8AABFE is a light, vivid blue. Relative luminance 0.417; OKLCH L 75.0% C 0.126 H 266.9°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#8AABFE
RGBrgb(138, 171, 254)
HSLhsl(223, 98%, 77%)
HSVhsv(223, 46%, 100%)
CMYKcmyk(45.7%, 32.7%, 0%, 0.4%)
CIE-LABlab(70.65, 10.12, -44.70)
CIE-LCHlch(70.65, 45.83, 282.76°)
OKLaboklab(75.04% -0.0068 -0.1256)
OKLCHoklch(75.04% 0.126 266.9)
XYZxyz(42.9278, 41.6823, 99.5302)
Luminance0.4168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AABFE #FEDD8A
analogous
#8AE5FE #8AABFE #A38AFE
triadic
#8AABFE #FE8AAB #ABFE8A
tetradic
#8AABFE #FE8AE5 #FEDD8A #8AFEA3
square
#8AABFE #FE8AE5 #FEDD8A #8AFEA3
split-complementary
#8AABFE #FEA38A #E5FE8A
monochromatic
#1154FD #4D7FFD #8AABFE #C7D7FF #E1E9FF

Accessibility & contrast

On white

2.25
#8AABFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#8AABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AABFE
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AABFE#FFFFFF#000000##000000
##8AABFE1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB2FF
Deuteranopia (green-blind)
#81A8FC
Tritanopia (blue-blind)
#5DBCC9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #8aabfe;
/* rgb */ color: rgb(138, 171, 254);
/* oklch */ color: oklch(75.0% 0.126 266.9);
Tailwind
colors: {
  custom: {
    50: '#b1c3ff',
    500: '#8aabfe',
    950: '#000000',
  },
}
SCSS
$custom: #8aabfe;
$custom-light: #b1c3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8aabfe",
  "rgb": {
    "r": 138,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 222.931,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75041,
    "c": 0.12576,
    "h": 266.9
  },
  "luminance": 0.41685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8AABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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