#AFAAEE#AFAAEE

#AFAAEE is a light, moderate blue. Relative luminance 0.440; OKLCH L 76.7% C 0.097 H 287.3°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#AFAAEE
RGBrgb(175, 170, 238)
HSLhsl(244, 67%, 80%)
HSVhsv(244, 29%, 93%)
CMYKcmyk(26.5%, 28.6%, 0%, 6.7%)
CIE-LABlab(72.25, 16.34, -33.34)
CIE-LCHlch(72.25, 37.13, 296.11°)
OKLaboklab(76.7% 0.0286 -0.0922)
OKLCHoklch(76.7% 0.097 287.3)
XYZxyz(47.4827, 44.0355, 86.8704)
Luminance0.4404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAEE #E9EEAA
analogous
#AAC7EE #AFAAEE #D1AAEE
triadic
#AFAAEE #EEAFAA #AAEEAF
tetradic
#AFAAEE #EEAAC7 #E9EEAA #AAEED1
square
#AFAAEE #EEAAC7 #E9EEAA #AAEED1
split-complementary
#AFAAEE #EED1AA #C7EEAA
monochromatic
#4F44DA #7F77E4 #AFAAEE #DFDDF8 #E7E5FA

Accessibility & contrast

On white

2.14
#AFAAEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#AFAAEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAEE
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAEE#FFFFFF#000000##000000
##AFAAEE1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B3F1
Deuteranopia (green-blind)
#97AFEC
Tritanopia (blue-blind)
#A1B6C2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afaaee;
/* rgb */ color: rgb(175, 170, 238);
/* oklch */ color: oklch(76.7% 0.097 287.3);
Tailwind
colors: {
  custom: {
    50: '#c8c3f3',
    500: '#afaaee',
    950: '#000000',
  },
}
SCSS
$custom: #afaaee;
$custom-light: #c8c3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#afaaee",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 238
  },
  "hsl": {
    "h": 244.412,
    "s": 66.667,
    "l": 80
  },
  "oklch": {
    "l": 0.767,
    "c": 0.09656,
    "h": 287.3
  },
  "luminance": 0.44036
}

Semantic roles & 50–950 ramp

primary
#AFAAEE
secondary
#F0F1DA
accent
#CF17C1
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFAAEE

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

Preview Lab → · Contrast checker → · Palette generator →

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