#AAA8EC#AAA8EC

#AAA8EC is a light, moderate blue. Relative luminance 0.426; OKLCH L 75.8% C 0.097 H 285.2°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#AAA8EC
RGBrgb(170, 168, 236)
HSLhsl(242, 64%, 79%)
HSVhsv(242, 29%, 93%)
CMYKcmyk(28%, 28.8%, 0%, 7.5%)
CIE-LABlab(71.29, 15.52, -33.77)
CIE-LCHlch(71.29, 37.17, 294.68°)
OKLaboklab(75.83% 0.0254 -0.0935)
OKLCHoklch(75.83% 0.097 285.2)
XYZxyz(45.7166, 42.6064, 85.1558)
Luminance0.4261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA8EC #EAECA8
analogous
#A8C8EC #AAA8EC #CCA8EC
triadic
#AAA8EC #ECAAA8 #A8ECAA
tetradic
#AAA8EC #ECA8C8 #EAECA8 #A8ECCC
square
#AAA8EC #ECA8C8 #EAECA8 #A8ECCC
split-complementary
#AAA8EC #ECCCA8 #C8ECA8
monochromatic
#4844D6 #7976E1 #AAA8EC #DBDAF7 #E6E6FA

Accessibility & contrast

On white

2.21
#AAA8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#AAA8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA8EC
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA8EC#FFFFFF#000000##000000
##AAA8EC1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B1EF
Deuteranopia (green-blind)
#93ADEA
Tritanopia (blue-blind)
#9AB4C0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aaa8ec;
/* rgb */ color: rgb(170, 168, 236);
/* oklch */ color: oklch(75.8% 0.097 285.2);
Tailwind
colors: {
  custom: {
    50: '#c4c1f2',
    500: '#aaa8ec',
    950: '#000000',
  },
}
SCSS
$custom: #aaa8ec;
$custom-light: #c4c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa8ec",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 236
  },
  "hsl": {
    "h": 241.765,
    "s": 64.151,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75834,
    "c": 0.09692,
    "h": 285.2
  },
  "luminance": 0.42607
}

Semantic roles & 50–950 ramp

primary
#AAA8EC
secondary
#F0F1DA
accent
#CC1AC7
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AAA8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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