#A5A6EA#A5A6EA

#A5A6EA is a light, moderate blue. Relative luminance 0.412; OKLCH L 75.0% C 0.097 H 283.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#A5A6EA
RGBrgb(165, 166, 234)
HSLhsl(239, 62%, 78%)
HSVhsv(239, 29%, 92%)
CMYKcmyk(29.5%, 29.1%, 0%, 8.2%)
CIE-LABlab(70.32, 14.71, -34.20)
CIE-LCHlch(70.32, 37.23, 293.27°)
OKLaboklab(74.97% 0.0221 -0.0948)
OKLCHoklch(74.97% 0.097 283.1)
XYZxyz(44.0006, 41.2111, 83.4622)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A6EA #EAE9A5
analogous
#A5C8EA #A5A6EA #C6A5EA
triadic
#A5A6EA #EAA5A6 #A6EAA5
tetradic
#A5A6EA #EAA5C8 #EAE9A5 #A5EAC6
square
#A5A6EA #EAA5C8 #EAE9A5 #A5EAC6
split-complementary
#A5A6EA #EAC6A5 #C8EAA5
monochromatic
#4244D3 #7375DE #A5A6EA #D7D7F6 #E6E6F9

Accessibility & contrast

On white

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

On black

9.24
#A5A6EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A6EA
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A6EA#FFFFFF#000000##000000
##A5A6EA1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AEED
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#94B2BE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5a6ea;
/* rgb */ color: rgb(165, 166, 234);
/* oklch */ color: oklch(75.0% 0.097 283.1);
Tailwind
colors: {
  custom: {
    50: '#c1c0f1',
    500: '#a5a6ea',
    950: '#000000',
  },
}
SCSS
$custom: #a5a6ea;
$custom-light: #c1c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a6ea",
  "rgb": {
    "r": 165,
    "g": 166,
    "b": 234
  },
  "hsl": {
    "h": 239.13,
    "s": 62.162,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7497,
    "c": 0.0974,
    "h": 283.1
  },
  "luminance": 0.41212
}

Semantic roles & 50–950 ramp

primary
#A5A6EA
secondary
#F1F0DA
accent
#C71CCA
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A5A6EA

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

Preview Lab → · Contrast checker → · Palette generator →

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