#AFAEF2#AFAEF2

#AFAEF2 is a light, moderate blue. Relative luminance 0.458; OKLCH L 77.6% C 0.096 H 284.6°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#AFAEF2
RGBrgb(175, 174, 242)
HSLhsl(241, 72%, 82%)
HSVhsv(241, 28%, 95%)
CMYKcmyk(27.7%, 28.1%, 0%, 5.1%)
CIE-LABlab(73.41, 15.08, -33.71)
CIE-LCHlch(73.41, 36.93, 294.09°)
OKLaboklab(77.65% 0.0243 -0.0933)
OKLCHoklch(77.65% 0.096 284.6)
XYZxyz(48.8381, 45.7958, 90.2535)
Luminance0.4580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAEF2 #F1F2AE
analogous
#AECFF2 #AFAEF2 #D1AEF2
triadic
#AFAEF2 #F2AFAE #AEF2AF
tetradic
#AFAEF2 #F2AECF #F1F2AE #AEF2D1
square
#AFAEF2 #F2AECF #F1F2AE #AEF2D1
split-complementary
#AFAEF2 #F2D1AE #CFF2AE
monochromatic
#4745E1 #7B79EA #AFAEF2 #E3E3FA #E5E5FB

Accessibility & contrast

On white

2.07
#AFAEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#AFAEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAEF2
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAEF2#FFFFFF#000000##000000
##AFAEF21.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB6F5
Deuteranopia (green-blind)
#99B2F0
Tritanopia (blue-blind)
#9FBAC6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afaef2;
/* rgb */ color: rgb(175, 174, 242);
/* oklch */ color: oklch(77.6% 0.096 284.6);
Tailwind
colors: {
  custom: {
    50: '#c8c6f6',
    500: '#afaef2',
    950: '#000000',
  },
}
SCSS
$custom: #afaef2;
$custom-light: #c8c6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#afaef2",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 242
  },
  "hsl": {
    "h": 240.882,
    "s": 72.34,
    "l": 81.569
  },
  "oklch": {
    "l": 0.77648,
    "c": 0.09642,
    "h": 284.6
  },
  "luminance": 0.45797
}

Semantic roles & 50–950 ramp

primary
#AFAEF2
secondary
#F2F2D9
accent
#D411D2
background
#FCFCFF
surface
#F8F8FE
border
#D1D1D6
text
#131317
muted
#828285

Preview Lab

Preview with #AFAEF2

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

Preview Lab → · Contrast checker → · Palette generator →

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