#A2AFE2#A2AFE2

#A2AFE2 is a light, moderate blue. Relative luminance 0.438; OKLCH L 76.2% C 0.075 H 273.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#A2AFE2
RGBrgb(162, 175, 226)
HSLhsl(228, 52%, 76%)
HSVhsv(228, 28%, 89%)
CMYKcmyk(28.3%, 22.6%, 0%, 11.4%)
CIE-LABlab(72.12, 6.85, -27.09)
CIE-LCHlch(72.12, 27.94, 284.18°)
OKLaboklab(76.2% 0.0045 -0.0747)
OKLCHoklch(76.2% 0.075 273.4)
XYZxyz(43.9540, 43.8310, 78.0812)
Luminance0.4383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AFE2 #E2D5A2
analogous
#A2CFE2 #A2AFE2 #B5A2E2
triadic
#A2AFE2 #E2A2AF #AFE2A2
tetradic
#A2AFE2 #E2A2CF #E2D5A2 #A2E2B5
square
#A2AFE2 #E2A2CF #E2D5A2 #A2E2B5
split-complementary
#A2AFE2 #E2B5A2 #CFE2A2
monochromatic
#455FC5 #7387D3 #A2AFE2 #D1D7F1 #E8EBF8

Accessibility & contrast

On white

2.15
#A2AFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#A2AFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AFE2
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AFE2#FFFFFF#000000##000000
##A2AFE21.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B4E4
Deuteranopia (green-blind)
#9BAEE1
Tritanopia (blue-blind)
#91B9C0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a2afe2;
/* rgb */ color: rgb(162, 175, 226);
/* oklch */ color: oklch(76.2% 0.075 273.4);
Tailwind
colors: {
  custom: {
    50: '#bec6eb',
    500: '#a2afe2',
    950: '#000000',
  },
}
SCSS
$custom: #a2afe2;
$custom-light: #bec6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a2afe2",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 227.813,
    "s": 52.459,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76204,
    "c": 0.0748,
    "h": 273.4
  },
  "luminance": 0.43832
}

Semantic roles & 50–950 ramp

primary
#A2AFE2
secondary
#EFEBDC
accent
#A126C0
background
#FBFCFE
surface
#F7F8FD
border
#D0D1D5
text
#121316
muted
#818284

Preview Lab

Preview with #A2AFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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