#AFABDF#AFABDF

#AFABDF is a light, moderate blue. Relative luminance 0.436; OKLCH L 76.3% C 0.074 H 288.0°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#AFABDF
RGBrgb(175, 171, 223)
HSLhsl(245, 45%, 77%)
HSVhsv(245, 23%, 87%)
CMYKcmyk(21.5%, 23.3%, 0%, 12.5%)
CIE-LABlab(71.94, 12.26, -25.64)
CIE-LCHlch(71.94, 28.42, 295.55°)
OKLaboklab(76.27% 0.0229 -0.0704)
OKLCHoklch(76.27% 0.074 288)
XYZxyz(45.5582, 43.5668, 75.8067)
Luminance0.4357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABDF #DBDFAB
analogous
#ABC1DF #AFABDF #C9ABDF
triadic
#AFABDF #DFAFAB #ABDFAF
tetradic
#AFABDF #DFABC1 #DBDFAB #ABDFC9
square
#AFABDF #DFABC1 #DBDFAB #ABDFC9
split-complementary
#AFABDF #DFC9AB #C1DFAB
monochromatic
#5B52BD #857FCE #AFABDF #D9D7F0 #EAE9F7

Accessibility & contrast

On white

2.16
#AFABDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#AFABDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABDF
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABDF#FFFFFF#000000##000000
##AFABDF1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB2E1
Deuteranopia (green-blind)
#9EAFDE
Tritanopia (blue-blind)
#A5B4BD
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afabdf;
/* rgb */ color: rgb(175, 171, 223);
/* oklch */ color: oklch(76.3% 0.074 288.0);
Tailwind
colors: {
  custom: {
    50: '#c7c4e9',
    500: '#afabdf',
    950: '#000000',
  },
}
SCSS
$custom: #afabdf;
$custom-light: #c7c4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#afabdf",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 223
  },
  "hsl": {
    "h": 244.615,
    "s": 44.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.7627,
    "c": 0.07401,
    "h": 288
  },
  "luminance": 0.43567
}

Semantic roles & 50–950 ramp

primary
#AFABDF
secondary
#ECEEDD
accent
#B82EAD
background
#FCFCFE
surface
#F8F8FC
border
#D1D1D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFABDF

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

Preview Lab → · Contrast checker → · Palette generator →

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