#AFABF9#AFABF9

#AFABF9 is a light, moderate blue. Relative luminance 0.451; OKLCH L 77.4% C 0.110 H 285.9°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#AFABF9
RGBrgb(175, 171, 249)
HSLhsl(243, 87%, 82%)
HSVhsv(243, 31%, 98%)
CMYKcmyk(29.7%, 31.3%, 0%, 2.4%)
CIE-LABlab(72.94, 18.46, -38.23)
CIE-LCHlch(72.94, 42.45, 295.77°)
OKLaboklab(77.38% 0.0302 -0.1062)
OKLCHoklch(77.38% 0.11 285.9)
XYZxyz(49.3365, 45.0781, 95.7057)
Luminance0.4508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABF9 #F5F9AB
analogous
#ABCEF9 #AFABF9 #D6ABF9
triadic
#AFABF9 #F9AFAB #ABF9AF
tetradic
#AFABF9 #F9ABCE #F5F9AB #ABF9D6
square
#AFABF9 #F9ABCE #F5F9AB #ABF9D6
split-complementary
#AFABF9 #F9D6AB #CEF9AB
monochromatic
#4239F1 #7972F5 #AFABF9 #E4E2FD #E4E2FD

Accessibility & contrast

On white

2.10
#AFABF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#AFABF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABF9
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABF9#FFFFFF#000000##000000
##AFABF91.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B5FC
Deuteranopia (green-blind)
#93B1F7
Tritanopia (blue-blind)
#9DB9C7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afabf9;
/* rgb */ color: rgb(175, 171, 249);
/* oklch */ color: oklch(77.4% 0.110 285.9);
Tailwind
colors: {
  custom: {
    50: '#c8c4fb',
    500: '#afabf9',
    950: '#000000',
  },
}
SCSS
$custom: #afabf9;
$custom-light: #c8c4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#afabf9",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 249
  },
  "hsl": {
    "h": 243.077,
    "s": 86.667,
    "l": 82.353
  },
  "oklch": {
    "l": 0.77378,
    "c": 0.11045,
    "h": 285.9
  },
  "luminance": 0.45079
}

Semantic roles & 50–950 ramp

primary
#AFABF9
secondary
#F3F5D6
accent
#E302D8
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFABF9

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

Preview Lab → · Contrast checker → · Palette generator →

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