#A5AEFB#A5AEFB

#A5AEFB is a light, moderate blue. Relative luminance 0.452; OKLCH L 77.3% C 0.110 H 278.4°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#A5AEFB
RGBrgb(165, 174, 251)
HSLhsl(234, 91%, 82%)
HSVhsv(234, 34%, 98%)
CMYKcmyk(34.3%, 30.7%, 0%, 1.6%)
CIE-LABlab(73.05, 14.52, -39.21)
CIE-LCHlch(73.05, 41.81, 290.32°)
OKLaboklab(77.3% 0.016 -0.1092)
OKLCHoklch(77.3% 0.11 278.4)
XYZxyz(48.0608, 45.2348, 97.4470)
Luminance0.4524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AEFB #FBF2A5
analogous
#A5D9FB #A5AEFB #C7A5FB
triadic
#A5AEFB #FBA5AE #AEFBA5
tetradic
#A5AEFB #FBA5D9 #FBF2A5 #A5FBC7
square
#A5AEFB #FBA5D9 #FBF2A5 #A5FBC7
split-complementary
#A5AEFB #FBC7A5 #D9FBA5
monochromatic
#3045F6 #6A79F8 #A5AEFB #E0E3FE #E2E5FE

Accessibility & contrast

On white

2.09
#A5AEFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#A5AEFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AEFB
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AEFB#FFFFFF#000000##000000
##A5AEFB1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B7FE
Deuteranopia (green-blind)
#91B0F9
Tritanopia (blue-blind)
#8DBDCA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a5aefb;
/* rgb */ color: rgb(165, 174, 251);
/* oklch */ color: oklch(77.3% 0.110 278.4);
Tailwind
colors: {
  custom: {
    50: '#c2c6fd',
    500: '#a5aefb',
    950: '#000000',
  },
}
SCSS
$custom: #a5aefb;
$custom-light: #c2c6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aefb",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 251
  },
  "hsl": {
    "h": 233.721,
    "s": 91.489,
    "l": 81.569
  },
  "oklch": {
    "l": 0.77302,
    "c": 0.11041,
    "h": 278.4
  },
  "luminance": 0.45236
}

Semantic roles & 50–950 ramp

primary
#A5AEFB
secondary
#F6F2D5
accent
#CD00E6
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #A5AEFB

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

Preview Lab → · Contrast checker → · Palette generator →

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