#AAA2EF#AAA2EF

#AAA2EF is a light, moderate blue. Relative luminance 0.406; OKLCH L 74.8% C 0.110 H 288.2°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#AAA2EF
RGBrgb(170, 162, 239)
HSLhsl(246, 71%, 79%)
HSVhsv(246, 32%, 94%)
CMYKcmyk(28.9%, 32.2%, 0%, 6.3%)
CIE-LABlab(69.91, 19.62, -37.55)
CIE-LCHlch(69.91, 42.37, 297.59°)
OKLaboklab(74.81% 0.0343 -0.1044)
OKLCHoklch(74.81% 0.11 288.2)
XYZxyz(45.0739, 40.6177, 87.1099)
Luminance0.4062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA2EF #E7EFA2
analogous
#A2C0EF #AAA2EF #D0A2EF
triadic
#AAA2EF #EFAAA2 #A2EFAA
tetradic
#AAA2EF #EFA2C0 #E7EFA2 #A2EFD0
square
#AAA2EF #EFA2C0 #E7EFA2 #A2EFD0
split-complementary
#AAA2EF #EFD0A2 #C0EFA2
monochromatic
#4B3ADD #7A6EE6 #AAA2EF #DAD6F8 #E7E5FB

Accessibility & contrast

On white

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

On black

9.12
#AAA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA2EF
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA2EF#FFFFFF#000000##000000
##AAA2EF1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DADF2
Deuteranopia (green-blind)
#8CA9ED
Tritanopia (blue-blind)
#9AB0BE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aaa2ef;
/* rgb */ color: rgb(170, 162, 239);
/* oklch */ color: oklch(74.8% 0.110 288.2);
Tailwind
colors: {
  custom: {
    50: '#c5bdf4',
    500: '#aaa2ef',
    950: '#000000',
  },
}
SCSS
$custom: #aaa2ef;
$custom-light: #c5bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa2ef",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 246.234,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74811,
    "c": 0.10986,
    "h": 288.2
  },
  "luminance": 0.40619
}

Semantic roles & 50–950 ramp

primary
#AAA2EF
secondary
#EFF2D9
accent
#D313BF
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AAA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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