#A5A5E8#A5A5E8

#A5A5E8 is a light, moderate blue. Relative luminance 0.407; OKLCH L 74.7% C 0.096 H 283.8°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#A5A5E8
RGBrgb(165, 165, 232)
HSLhsl(240, 59%, 78%)
HSVhsv(240, 29%, 91%)
CMYKcmyk(28.9%, 28.9%, 0%, 9%)
CIE-LABlab(69.99, 14.77, -33.63)
CIE-LCHlch(69.99, 36.73, 293.72°)
OKLaboklab(74.69% 0.023 -0.0932)
OKLCHoklch(74.69% 0.096 283.8)
XYZxyz(43.5339, 40.7347, 81.8972)
Luminance0.4074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A5E8 #E8E8A5
analogous
#A5C6E8 #A5A5E8 #C6A5E8
triadic
#A5A5E8 #E8A5A5 #A5E8A5
tetradic
#A5A5E8 #E8A5C6 #E8E8A5 #A5E8C6
square
#A5A5E8 #E8A5C6 #E8E8A5 #A5E8C6
split-complementary
#A5A5E8 #E8C6A5 #C6E8A5
monochromatic
#4444CF #7474DC #A5A5E8 #D6D6F4 #E7E7F9

Accessibility & contrast

On white

2.30
#A5A5E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#A5A5E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A5E8
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A5E8#FFFFFF#000000##000000
##A5A5E81.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ADEB
Deuteranopia (green-blind)
#90A9E6
Tritanopia (blue-blind)
#95B1BD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5a5e8;
/* rgb */ color: rgb(165, 165, 232);
/* oklch */ color: oklch(74.7% 0.096 283.8);
Tailwind
colors: {
  custom: {
    50: '#c1bfef',
    500: '#a5a5e8',
    950: '#000000',
  },
}
SCSS
$custom: #a5a5e8;
$custom-light: #c1bfef;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a5e8",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 232
  },
  "hsl": {
    "h": 240,
    "s": 59.292,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74685,
    "c": 0.09598,
    "h": 283.8
  },
  "luminance": 0.40736
}

Semantic roles & 50–950 ramp

primary
#A5A5E8
secondary
#F0F0DB
accent
#C71FC7
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A5A5E8

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

Preview Lab → · Contrast checker → · Palette generator →

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