#A2AFE7#A2AFE7

#A2AFE7 is a light, moderate blue. Relative luminance 0.441; OKLCH L 76.4% C 0.082 H 274.2°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#A2AFE7
RGBrgb(162, 175, 231)
HSLhsl(229, 59%, 77%)
HSVhsv(229, 30%, 91%)
CMYKcmyk(29.9%, 24.2%, 0%, 9.4%)
CIE-LABlab(72.30, 8.07, -29.53)
CIE-LCHlch(72.30, 30.62, 285.29°)
OKLaboklab(76.41% 0.006 -0.0816)
OKLCHoklch(76.41% 0.082 274.2)
XYZxyz(44.6501, 44.1094, 81.7473)
Luminance0.4411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AFE7 #E7DAA2
analogous
#A2D1E7 #A2AFE7 #B8A2E7
triadic
#A2AFE7 #E7A2AF #AFE7A2
tetradic
#A2AFE7 #E7A2D1 #E7DAA2 #A2E7B8
square
#A2AFE7 #E7A2D1 #E7DAA2 #A2E7B8
split-complementary
#A2AFE7 #E7B8A2 #D1E7A2
monochromatic
#415BCE #7185DA #A2AFE7 #D3D9F4 #E7EAF9

Accessibility & contrast

On white

2.14
#A2AFE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#A2AFE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AFE7
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AFE7#FFFFFF#000000##000000
##A2AFE71.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB4E9
Deuteranopia (green-blind)
#99AFE6
Tritanopia (blue-blind)
#90BAC2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a2afe7;
/* rgb */ color: rgb(162, 175, 231);
/* oklch */ color: oklch(76.4% 0.082 274.2);
Tailwind
colors: {
  custom: {
    50: '#bfc6ee',
    500: '#a2afe7',
    950: '#000000',
  },
}
SCSS
$custom: #a2afe7;
$custom-light: #bfc6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a2afe7",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 231
  },
  "hsl": {
    "h": 228.696,
    "s": 58.974,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7641,
    "c": 0.08181,
    "h": 274.2
  },
  "luminance": 0.44111
}

Semantic roles & 50–950 ramp

primary
#A2AFE7
secondary
#F0ECDB
accent
#A71FC7
background
#FBFCFE
surface
#F7F8FD
border
#D0D1D5
text
#121316
muted
#818284

Preview Lab

Preview with #A2AFE7

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

Preview Lab → · Contrast checker → · Palette generator →

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