#AFAEF9#AFAEF9

#AFAEF9 is a light, moderate blue. Relative luminance 0.462; OKLCH L 78.0% C 0.106 H 284.3°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#AFAEF9
RGBrgb(175, 174, 249)
HSLhsl(241, 86%, 83%)
HSVhsv(241, 30%, 98%)
CMYKcmyk(29.7%, 30.1%, 0%, 2.4%)
CIE-LABlab(73.69, 16.79, -37.07)
CIE-LCHlch(73.69, 40.69, 294.36°)
OKLaboklab(77.95% 0.0262 -0.1029)
OKLCHoklch(77.95% 0.106 284.3)
XYZxyz(49.9096, 46.2244, 95.8968)
Luminance0.4623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAEF9 #F8F9AE
analogous
#AED2F9 #AFAEF9 #D4AEF9
triadic
#AFAEF9 #F9AFAE #AEF9AF
tetradic
#AFAEF9 #F9AED2 #F8F9AE #AEF9D4
square
#AFAEF9 #F9AED2 #F8F9AE #AEF9D4
split-complementary
#AFAEF9 #F9D4AE #D2F9AE
monochromatic
#3E3CF1 #7775F5 #AFAEF9 #E3E3FD #E3E3FD

Accessibility & contrast

On white

2.05
#AFAEF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#AFAEF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAEF9
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAEF9#FFFFFF#000000##000000
##AFAEF91.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B7FC
Deuteranopia (green-blind)
#96B3F7
Tritanopia (blue-blind)
#9DBCC9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afaef9;
/* rgb */ color: rgb(175, 174, 249);
/* oklch */ color: oklch(78.0% 0.106 284.3);
Tailwind
colors: {
  custom: {
    50: '#c8c6fb',
    500: '#afaef9',
    950: '#000000',
  },
}
SCSS
$custom: #afaef9;
$custom-light: #c8c6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#afaef9",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 249
  },
  "hsl": {
    "h": 240.8,
    "s": 86.207,
    "l": 82.941
  },
  "oklch": {
    "l": 0.77954,
    "c": 0.1062,
    "h": 284.3
  },
  "luminance": 0.46226
}

Semantic roles & 50–950 ramp

primary
#AFAEF9
secondary
#F4F5D6
accent
#E303E0
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFAEF9

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

Preview Lab → · Contrast checker → · Palette generator →

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