#8AABFD#8AABFD

#8AABFD is a light, vivid blue. Relative luminance 0.416; OKLCH L 75.0% C 0.124 H 266.7°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#8AABFD
RGBrgb(138, 171, 253)
HSLhsl(223, 97%, 77%)
HSVhsv(223, 45%, 99%)
CMYKcmyk(45.5%, 32.4%, 0%, 0.8%)
CIE-LABlab(70.61, 9.84, -44.23)
CIE-LCHlch(70.61, 45.31, 282.54°)
OKLaboklab(74.99% -0.0071 -0.1242)
OKLCHoklch(74.99% 0.124 266.7)
XYZxyz(42.7681, 41.6184, 98.6890)
Luminance0.4162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AABFD #FDDC8A
analogous
#8AE4FD #8AABFD #A38AFD
triadic
#8AABFD #FD8AAB #ABFD8A
tetradic
#8AABFD #FD8AE4 #FDDC8A #8AFDA3
square
#8AABFD #FD8AE4 #FDDC8A #8AFDA3
split-complementary
#8AABFD #FDA38A #E4FD8A
monochromatic
#1255FB #4E80FC #8AABFD #C6D6FE #E1E9FE

Accessibility & contrast

On white

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

On black

9.32
#8AABFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AABFD
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AABFD#FFFFFF#000000##000000
##8AABFD1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aabfd;
/* rgb */ color: rgb(138, 171, 253);
/* oklch */ color: oklch(75.0% 0.124 266.7);
Tailwind
colors: {
  custom: {
    50: '#b1c3fe',
    500: '#8aabfd',
    950: '#000000',
  },
}
SCSS
$custom: #8aabfd;
$custom-light: #b1c3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8aabfd",
  "rgb": {
    "r": 138,
    "g": 171,
    "b": 253
  },
  "hsl": {
    "h": 222.783,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74992,
    "c": 0.1244,
    "h": 266.7
  },
  "luminance": 0.41621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8AABFD

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

Preview Lab → · Contrast checker → · Palette generator →

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