#8AA2FC#8AA2FC

#8AA2FC is a light, vivid blue. Relative luminance 0.383; OKLCH L 73.1% C 0.134 H 271.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8AA2FC
RGBrgb(138, 162, 252)
HSLhsl(227, 95%, 76%)
HSVhsv(227, 45%, 99%)
CMYKcmyk(45.2%, 35.7%, 0%, 1.2%)
CIE-LABlab(68.22, 14.68, -47.44)
CIE-LCHlch(68.22, 49.66, 287.19°)
OKLaboklab(73.13% 0.0034 -0.1336)
OKLCHoklch(73.13% 0.134 271.4)
XYZxyz(40.9667, 38.2699, 97.3048)
Luminance0.3827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA2FC #FCE48A
analogous
#8ADBFC #8AA2FC #AB8AFC
triadic
#8AA2FC #FC8AA2 #A2FC8A
tetradic
#8AA2FC #FC8ADB #FCE48A #8AFCAB
square
#8AA2FC #FC8ADB #FCE48A #8AFCAB
split-complementary
#8AA2FC #FCAB8A #DBFC8A
monochromatic
#1343F9 #4E73FA #8AA2FC #C6D1FE #E1E7FE

Accessibility & contrast

On white

2.43
#8AA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#8AA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA2FC
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA2FC#FFFFFF#000000##000000
##8AA2FC1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#76A2FA
Tritanopia (blue-blind)
#60B5C3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8aa2fc;
/* rgb */ color: rgb(138, 162, 252);
/* oklch */ color: oklch(73.1% 0.134 271.4);
Tailwind
colors: {
  custom: {
    50: '#b1bdfe',
    500: '#8aa2fc',
    950: '#000000',
  },
}
SCSS
$custom: #8aa2fc;
$custom-light: #b1bdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa2fc",
  "rgb": {
    "r": 138,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 227.368,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73129,
    "c": 0.1336,
    "h": 271.4
  },
  "luminance": 0.38272
}

Semantic roles & 50–950 ramp

primary
#8AA2FC
secondary
#F6EFD5
accent
#B500E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8AA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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