#AFAEF4#AFAEF4

#AFAEF4 is a light, moderate blue. Relative luminance 0.459; OKLCH L 77.7% C 0.099 H 284.5°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#AFAEF4
RGBrgb(175, 174, 244)
HSLhsl(241, 76%, 82%)
HSVhsv(241, 29%, 96%)
CMYKcmyk(28.3%, 28.7%, 0%, 4.3%)
CIE-LABlab(73.49, 15.56, -34.67)
CIE-LCHlch(73.49, 38.01, 294.17°)
OKLaboklab(77.74% 0.0248 -0.0961)
OKLCHoklch(77.74% 0.099 284.5)
XYZxyz(49.1401, 45.9166, 91.8442)
Luminance0.4592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAEF4 #F3F4AE
analogous
#AED0F4 #AFAEF4 #D2AEF4
triadic
#AFAEF4 #F4AFAE #AEF4AF
tetradic
#AFAEF4 #F4AED0 #F3F4AE #AEF4D2
square
#AFAEF4 #F4AED0 #F3F4AE #AEF4D2
split-complementary
#AFAEF4 #F4D2AE #D0F4AE
monochromatic
#4542E5 #7A78ED #AFAEF4 #E4E4FB #E4E4FB

Accessibility & contrast

On white

2.06
#AFAEF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#AFAEF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAEF4
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAEF4#FFFFFF#000000##000000
##AFAEF41.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB7F7
Deuteranopia (green-blind)
#98B2F2
Tritanopia (blue-blind)
#9EBAC7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afaef4;
/* rgb */ color: rgb(175, 174, 244);
/* oklch */ color: oklch(77.7% 0.099 284.5);
Tailwind
colors: {
  custom: {
    50: '#c8c6f8',
    500: '#afaef4',
    950: '#000000',
  },
}
SCSS
$custom: #afaef4;
$custom-light: #c8c6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#afaef4",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 244
  },
  "hsl": {
    "h": 240.857,
    "s": 76.087,
    "l": 81.961
  },
  "oklch": {
    "l": 0.77735,
    "c": 0.09922,
    "h": 284.5
  },
  "luminance": 0.45918
}

Semantic roles & 50–950 ramp

primary
#AFAEF4
secondary
#F3F3D8
accent
#D80DD5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFAEF4

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

Preview Lab → · Contrast checker → · Palette generator →

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