#A2AFEB#A2AFEB

#A2AFEB is a light, moderate blue. Relative luminance 0.443; OKLCH L 76.6% C 0.087 H 274.7°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#A2AFEB
RGBrgb(162, 175, 235)
HSLhsl(229, 65%, 78%)
HSVhsv(229, 31%, 92%)
CMYKcmyk(31.1%, 25.5%, 0%, 7.8%)
CIE-LABlab(72.45, 9.07, -31.47)
CIE-LCHlch(72.45, 32.75, 286.08°)
OKLaboklab(76.58% 0.0072 -0.0871)
OKLCHoklch(76.58% 0.087 274.7)
XYZxyz(45.2215, 44.3380, 84.7566)
Luminance0.4434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AFEB #EBDEA2
analogous
#A2D3EB #A2AFEB #B9A2EB
triadic
#A2AFEB #EBA2AF #AFEBA2
tetradic
#A2AFEB #EBA2D3 #EBDEA2 #A2EBB9
square
#A2AFEB #EBA2D3 #EBDEA2 #A2EBB9
split-complementary
#A2AFEB #EBB9A2 #D3EBA2
monochromatic
#3D58D5 #7084E0 #A2AFEB #D4DAF6 #E6E9FA

Accessibility & contrast

On white

2.13
#A2AFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#A2AFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AFEB
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AFEB#FFFFFF#000000##000000
##A2AFEB1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB5EE
Deuteranopia (green-blind)
#98AFEA
Tritanopia (blue-blind)
#8EBAC4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a2afeb;
/* rgb */ color: rgb(162, 175, 235);
/* oklch */ color: oklch(76.6% 0.087 274.7);
Tailwind
colors: {
  custom: {
    50: '#bfc6f1',
    500: '#a2afeb',
    950: '#000000',
  },
}
SCSS
$custom: #a2afeb;
$custom-light: #bfc6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2afeb",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 229.315,
    "s": 64.602,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76579,
    "c": 0.08741,
    "h": 274.7
  },
  "luminance": 0.44339
}

Semantic roles & 50–950 ramp

primary
#A2AFEB
secondary
#F1EDDA
accent
#AC19CC
background
#FBFCFE
surface
#F7F8FD
border
#D0D1D5
text
#121316
muted
#818284

Preview Lab

Preview with #A2AFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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