#AAA7EC#AAA7EC

#AAA7EC is a light, moderate blue. Relative luminance 0.422; OKLCH L 75.6% C 0.098 H 285.8°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#AAA7EC
RGBrgb(170, 167, 236)
HSLhsl(243, 64%, 79%)
HSVhsv(243, 29%, 93%)
CMYKcmyk(28%, 29.2%, 0%, 7.5%)
CIE-LABlab(71.04, 16.08, -34.16)
CIE-LCHlch(71.04, 37.76, 295.20°)
OKLaboklab(75.64% 0.0268 -0.0946)
OKLCHoklch(75.64% 0.098 285.8)
XYZxyz(45.5327, 42.2386, 85.0945)
Luminance0.4224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA7EC #E9ECA7
analogous
#A7C7EC #AAA7EC #CDA7EC
triadic
#AAA7EC #ECAAA7 #A7ECAA
tetradic
#AAA7EC #ECA7C7 #E9ECA7 #A7ECCD
square
#AAA7EC #ECA7C7 #E9ECA7 #A7ECCD
split-complementary
#AAA7EC #ECCDA7 #C7ECA7
monochromatic
#4942D6 #7975E1 #AAA7EC #DBD9F7 #E7E6FA

Accessibility & contrast

On white

2.22
#AAA7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#AAA7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA7EC
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA7EC#FFFFFF#000000##000000
##AAA7EC1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0EF
Deuteranopia (green-blind)
#92ACEA
Tritanopia (blue-blind)
#9AB3BF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aaa7ec;
/* rgb */ color: rgb(170, 167, 236);
/* oklch */ color: oklch(75.6% 0.098 285.8);
Tailwind
colors: {
  custom: {
    50: '#c4c1f2',
    500: '#aaa7ec',
    950: '#000000',
  },
}
SCSS
$custom: #aaa7ec;
$custom-light: #c4c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa7ec",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 242.609,
    "s": 64.486,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75639,
    "c": 0.09836,
    "h": 285.8
  },
  "luminance": 0.4224
}

Semantic roles & 50–950 ramp

primary
#AAA7EC
secondary
#F0F1DA
accent
#CC19C5
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AAA7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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