#A2AAFE#A2AAFE

#A2AAFE is a light, vivid blue. Relative luminance 0.436; OKLCH L 76.4% C 0.120 H 279.0°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#A2AAFE
RGBrgb(162, 170, 254)
HSLhsl(235, 98%, 82%)
HSVhsv(235, 36%, 100%)
CMYKcmyk(36.2%, 33.1%, 0%, 0.4%)
CIE-LABlab(71.95, 16.74, -42.56)
CIE-LCHlch(71.95, 45.73, 291.47°)
OKLaboklab(76.44% 0.0188 -0.1189)
OKLCHoklch(76.44% 0.12 279)
XYZxyz(47.1593, 43.5848, 99.6746)
Luminance0.4359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AAFE #FEF6A2
analogous
#A2D8FE #A2AAFE #C8A2FE
triadic
#A2AAFE #FEA2AA #AAFEA2
tetradic
#A2AAFE #FEA2D8 #FEF6A2 #A2FEC8
square
#A2AAFE #FEA2D8 #FEF6A2 #A2FEC8
split-complementary
#A2AAFE #FEC8A2 #D8FEA2
monochromatic
#293BFD #6573FD #A2AAFE #DFE1FF #E1E3FF

Accessibility & contrast

On white

2.16
#A2AAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#A2AAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AAFE
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AAFE#FFFFFF#000000##000000
##A2AAFE1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB4FF
Deuteranopia (green-blind)
#8AADFC
Tritanopia (blue-blind)
#88BAC8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2aafe;
/* rgb */ color: rgb(162, 170, 254);
/* oklch */ color: oklch(76.4% 0.120 279.0);
Tailwind
colors: {
  custom: {
    50: '#c0c3ff',
    500: '#a2aafe',
    950: '#000000',
  },
}
SCSS
$custom: #a2aafe;
$custom-light: #c0c3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aafe",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 234.783,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.76444,
    "c": 0.12041,
    "h": 279
  },
  "luminance": 0.43587
}

Semantic roles & 50–950 ramp

primary
#A2AAFE
secondary
#F7F4D4
accent
#D200E6
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #A2AAFE

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

Preview Lab → · Contrast checker → · Palette generator →

#A2AAFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva