#A2A8E5#A2A8E5

#A2A8E5 is a light, moderate blue. Relative luminance 0.413; OKLCH L 74.9% C 0.088 H 279.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#A2A8E5
RGBrgb(162, 168, 229)
HSLhsl(235, 56%, 77%)
HSVhsv(235, 29%, 90%)
CMYKcmyk(29.3%, 26.6%, 0%, 10.2%)
CIE-LABlab(70.42, 11.48, -31.35)
CIE-LCHlch(70.42, 33.38, 290.12°)
OKLaboklab(74.92% 0.0148 -0.0867)
OKLCHoklch(74.92% 0.088 279.7)
XYZxyz(43.0420, 41.3426, 79.8257)
Luminance0.4134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A8E5 #E5DFA2
analogous
#A2CAE5 #A2A8E5 #BEA2E5
triadic
#A2A8E5 #E5A2A8 #A8E5A2
tetradic
#A2A8E5 #E5A2CA #E5DFA2 #A2E5BE
square
#A2A8E5 #E5A2CA #E5DFA2 #A2E5BE
split-complementary
#A2A8E5 #E5BEA2 #CAE5A2
monochromatic
#424FCA #727BD8 #A2A8E5 #D2D5F2 #E7E9F8

Accessibility & contrast

On white

2.27
#A2A8E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#A2A8E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A8E5
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A8E5#FFFFFF#000000##000000
##A2A8E51.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AFE8
Deuteranopia (green-blind)
#93AAE3
Tritanopia (blue-blind)
#91B3BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2a8e5;
/* rgb */ color: rgb(162, 168, 229);
/* oklch */ color: oklch(74.9% 0.088 279.7);
Tailwind
colors: {
  custom: {
    50: '#bfc1ed',
    500: '#a2a8e5',
    950: '#000000',
  },
}
SCSS
$custom: #a2a8e5;
$custom-light: #bfc1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a8e5",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 229
  },
  "hsl": {
    "h": 234.627,
    "s": 56.303,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7492,
    "c": 0.088,
    "h": 279.7
  },
  "luminance": 0.41344
}

Semantic roles & 50–950 ramp

primary
#A2A8E5
secondary
#F0EEDB
accent
#B522C4
background
#FBFBFE
surface
#F7F7FD
border
#D0D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A2A8E5

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

Preview Lab → · Contrast checker → · Palette generator →

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