#8AABF8#8AABF8

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

Color values

HEX#8AABF8
RGBrgb(138, 171, 248)
HSLhsl(222, 89%, 76%)
HSVhsv(222, 44%, 97%)
CMYKcmyk(44.4%, 31%, 0%, 2.7%)
CIE-LABlab(70.39, 8.42, -41.86)
CIE-LCHlch(70.39, 42.70, 281.37°)
OKLaboklab(74.75% -0.0084 -0.1173)
OKLCHoklch(74.75% 0.118 265.9)
XYZxyz(41.9820, 41.3040, 94.5490)
Luminance0.4131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AABF8 #F8D78A
analogous
#8AE2F8 #8AABF8 #A08AF8
triadic
#8AABF8 #F88AAB #ABF88A
tetradic
#8AABF8 #F88AE2 #F8D78A #8AF8A0
square
#8AABF8 #F88AE2 #F8D78A #8AF8A0
split-complementary
#8AABF8 #F8A08A #E2F88A
monochromatic
#1758F1 #5082F5 #8AABF8 #C4D4FB #E2EAFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AABF8#FFFFFF#000000##000000
##8AABF81.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)
#8FB2FB
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#61BBC7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8aabf8;
/* rgb */ color: rgb(138, 171, 248);
/* oklch */ color: oklch(74.8% 0.118 265.9);
Tailwind
colors: {
  custom: {
    50: '#b1c3fb',
    500: '#8aabf8',
    950: '#000000',
  },
}
SCSS
$custom: #8aabf8;
$custom-light: #b1c3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8aabf8",
  "rgb": {
    "r": 138,
    "g": 171,
    "b": 248
  },
  "hsl": {
    "h": 222,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7475,
    "c": 0.11765,
    "h": 265.9
  },
  "luminance": 0.41306
}

Semantic roles & 50–950 ramp

primary
#8AABF8
secondary
#F5ECD6
accent
#A100E5
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8AABF8

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

Preview Lab → · Contrast checker → · Palette generator →

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