#A2BAFA#A2BAFA

#A2BAFA is a light, moderate blue. Relative luminance 0.497; OKLCH L 79.4% C 0.095 H 268.3°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#A2BAFA
RGBrgb(162, 186, 250)
HSLhsl(224, 90%, 81%)
HSVhsv(224, 35%, 98%)
CMYKcmyk(35.2%, 25.6%, 0%, 2%)
CIE-LABlab(75.88, 6.79, -34.28)
CIE-LCHlch(75.88, 34.95, 281.20°)
OKLaboklab(79.44% -0.0028 -0.0952)
OKLCHoklch(79.44% 0.095 268.3)
XYZxyz(49.7094, 49.6992, 97.3977)
Luminance0.4970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BAFA #FAE2A2
analogous
#A2E6FA #A2BAFA #B6A2FA
triadic
#A2BAFA #FAA2BA #BAFAA2
tetradic
#A2BAFA #FAA2E6 #FAE2A2 #A2FAB6
square
#A2BAFA #FAA2E6 #FAE2A2 #A2FAB6
split-complementary
#A2BAFA #FAB6A2 #E6FAA2
monochromatic
#2E64F4 #688FF7 #A2BAFA #DCE5FD #E2E9FD

Accessibility & contrast

On white

1.92
#A2BAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#A2BAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BAFA
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BAFA#FFFFFF#000000##000000
##A2BAFA1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BFFD
Deuteranopia (green-blind)
#9DB8F9
Tritanopia (blue-blind)
#88C7D0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a2bafa;
/* rgb */ color: rgb(162, 186, 250);
/* oklch */ color: oklch(79.4% 0.095 268.3);
Tailwind
colors: {
  custom: {
    50: '#c0cefc',
    500: '#a2bafa',
    950: '#000000',
  },
}
SCSS
$custom: #a2bafa;
$custom-light: #c0cefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bafa",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 250
  },
  "hsl": {
    "h": 223.636,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.7944,
    "c": 0.09521,
    "h": 268.3
  },
  "luminance": 0.49701
}

Semantic roles & 50–950 ramp

primary
#A2BAFA
secondary
#F6EDD5
accent
#A700E6
background
#FCFCFF
surface
#F8F9FF
border
#D1D2D7
text
#121317
muted
#818285

Preview Lab

Preview with #A2BAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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