#A2AFEF#A2AFEF

#A2AFEF is a light, moderate blue. Relative luminance 0.446; OKLCH L 76.8% C 0.093 H 275.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#A2AFEF
RGBrgb(162, 175, 239)
HSLhsl(230, 71%, 79%)
HSVhsv(230, 32%, 94%)
CMYKcmyk(32.2%, 26.8%, 0%, 6.3%)
CIE-LABlab(72.61, 10.08, -33.41)
CIE-LCHlch(72.61, 34.89, 286.78°)
OKLaboklab(76.75% 0.0083 -0.0926)
OKLCHoklch(76.75% 0.093 275.1)
XYZxyz(45.8059, 44.5717, 87.8344)
Luminance0.4457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AFEF #EFE2A2
analogous
#A2D5EF #A2AFEF #BBA2EF
triadic
#A2AFEF #EFA2AF #AFEFA2
tetradic
#A2AFEF #EFA2D5 #EFE2A2 #A2EFBB
square
#A2AFEF #EFA2D5 #EFE2A2 #A2EFBB
split-complementary
#A2AFEF #EFBBA2 #D5EFA2
monochromatic
#3A55DD #6E82E6 #A2AFEF #D6DCF8 #E5E9FB

Accessibility & contrast

On white

2.12
#A2AFEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#A2AFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AFEF
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AFEF#FFFFFF#000000##000000
##A2AFEF1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB5F2
Deuteranopia (green-blind)
#96AFED
Tritanopia (blue-blind)
#8DBBC5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a2afef;
/* rgb */ color: rgb(162, 175, 239);
/* oklch */ color: oklch(76.8% 0.093 275.1);
Tailwind
colors: {
  custom: {
    50: '#bfc6f4',
    500: '#a2afef',
    950: '#000000',
  },
}
SCSS
$custom: #a2afef;
$custom-light: #bfc6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2afef",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 229.87,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76751,
    "c": 0.093,
    "h": 275.1
  },
  "luminance": 0.44573
}

Semantic roles & 50–950 ramp

primary
#A2AFEF
secondary
#F2EED9
accent
#B213D3
background
#FBFCFE
surface
#F7F8FD
border
#D0D1D5
text
#121317
muted
#818285

Preview Lab

Preview with #A2AFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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