#AAA2EC#AAA2EC

#AAA2EC is a light, moderate blue. Relative luminance 0.404; OKLCH L 74.7% C 0.106 H 288.5°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#AAA2EC
RGBrgb(170, 162, 236)
HSLhsl(246, 66%, 78%)
HSVhsv(246, 31%, 93%)
CMYKcmyk(28%, 31.4%, 0%, 7.5%)
CIE-LABlab(69.78, 18.88, -36.10)
CIE-LCHlch(69.78, 40.75, 297.61°)
OKLaboklab(74.68% 0.0336 -0.1002)
OKLCHoklch(74.68% 0.106 288.5)
XYZxyz(44.6344, 40.4419, 84.7951)
Luminance0.4044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA2EC #E4ECA2
analogous
#A2BFEC #AAA2EC #CFA2EC
triadic
#AAA2EC #ECAAA2 #A2ECAA
tetradic
#AAA2EC #ECA2BF #E4ECA2 #A2ECCF
square
#AAA2EC #ECA2BF #E4ECA2 #A2ECCF
split-complementary
#AAA2EC #ECCFA2 #BFECA2
monochromatic
#4D3CD7 #7C6FE2 #AAA2EC #D8D5F6 #E8E6FA

Accessibility & contrast

On white

2.31
#AAA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#AAA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA2EC
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA2EC#FFFFFF#000000##000000
##AAA2EC1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEF
Deuteranopia (green-blind)
#8DA9EA
Tritanopia (blue-blind)
#9BAFBD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aaa2ec;
/* rgb */ color: rgb(170, 162, 236);
/* oklch */ color: oklch(74.7% 0.106 288.5);
Tailwind
colors: {
  custom: {
    50: '#c5bdf2',
    500: '#aaa2ec',
    950: '#000000',
  },
}
SCSS
$custom: #aaa2ec;
$custom-light: #c5bdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa2ec",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 246.486,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.74675,
    "c": 0.10568,
    "h": 288.5
  },
  "luminance": 0.40443
}

Semantic roles & 50–950 ramp

primary
#AAA2EC
secondary
#EFF1DA
accent
#CE18BA
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AAA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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