#8AABFC#8AABFC

#8AABFC is a light, vivid blue. Relative luminance 0.416; OKLCH L 74.9% C 0.123 H 266.6°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#8AABFC
RGBrgb(138, 171, 252)
HSLhsl(223, 95%, 76%)
HSVhsv(223, 45%, 99%)
CMYKcmyk(45.2%, 32.1%, 0%, 1.2%)
CIE-LABlab(70.56, 9.55, -43.76)
CIE-LCHlch(70.56, 44.79, 282.32°)
OKLaboklab(74.94% -0.0073 -0.1228)
OKLCHoklch(74.94% 0.123 266.6)
XYZxyz(42.6092, 41.5548, 97.8523)
Luminance0.4156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AABFC #FCDB8A
analogous
#8AE4FC #8AABFC #A28AFC
triadic
#8AABFC #FC8AAB #ABFC8A
tetradic
#8AABFC #FC8AE4 #FCDB8A #8AFCA2
square
#8AABFC #FC8AE4 #FCDB8A #8AFCA2
split-complementary
#8AABFC #FCA28A #E4FC8A
monochromatic
#1355F9 #4E80FA #8AABFC #C6D6FE #E1EAFE

Accessibility & contrast

On white

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

On black

9.31
#8AABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AABFC
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AABFC#FFFFFF#000000##000000
##8AABFC1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB2FF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#5FBCC8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #8aabfc;
/* rgb */ color: rgb(138, 171, 252);
/* oklch */ color: oklch(74.9% 0.123 266.6);
Tailwind
colors: {
  custom: {
    50: '#b1c3fd',
    500: '#8aabfc',
    950: '#000000',
  },
}
SCSS
$custom: #8aabfc;
$custom-light: #b1c3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8aabfc",
  "rgb": {
    "r": 138,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 222.632,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74943,
    "c": 0.12305,
    "h": 266.6
  },
  "luminance": 0.41557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8AABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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