#AFABDC#AFABDC

#AFABDC is a light, moderate blue. Relative luminance 0.434; OKLCH L 76.1% C 0.070 H 288.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#AFABDC
RGBrgb(175, 171, 220)
HSLhsl(245, 41%, 77%)
HSVhsv(245, 22%, 86%)
CMYKcmyk(20.5%, 22.3%, 0%, 13.7%)
CIE-LABlab(71.83, 11.57, -24.17)
CIE-LCHlch(71.83, 26.80, 295.59°)
OKLaboklab(76.15% 0.022 -0.0662)
OKLCHoklch(76.15% 0.07 288.4)
XYZxyz(45.1573, 43.4065, 73.6955)
Luminance0.4341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABDC #D8DCAB
analogous
#ABC0DC #AFABDC #C8ABDC
triadic
#AFABDC #DCAFAB #ABDCAF
tetradic
#AFABDC #DCABC0 #D8DCAB #ABDCC8
square
#AFABDC #DCABC0 #D8DCAB #ABDCC8
split-complementary
#AFABDC #DCC8AB #C0DCAB
monochromatic
#5D55B8 #8680CA #AFABDC #D8D6EE #EAE9F6

Accessibility & contrast

On white

2.17
#AFABDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#AFABDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABDC
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABDC#FFFFFF#000000##000000
##AFABDC1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB1DE
Deuteranopia (green-blind)
#9FAFDB
Tritanopia (blue-blind)
#A6B3BC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afabdc;
/* rgb */ color: rgb(175, 171, 220);
/* oklch */ color: oklch(76.1% 0.070 288.4);
Tailwind
colors: {
  custom: {
    50: '#c7c4e7',
    500: '#afabdc',
    950: '#000000',
  },
}
SCSS
$custom: #afabdc;
$custom-light: #c7c4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#afabdc",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 220
  },
  "hsl": {
    "h": 244.898,
    "s": 41.176,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7615,
    "c": 0.06976,
    "h": 288.4
  },
  "luminance": 0.43407
}

Semantic roles & 50–950 ramp

primary
#AFABDC
secondary
#ECEDDE
accent
#B431AA
background
#FCFCFE
surface
#F8F8FC
border
#D1D1D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFABDC

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

Preview Lab → · Contrast checker → · Palette generator →

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