#AFABDB#AFABDB

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

Color values

HEX#AFABDB
RGBrgb(175, 171, 219)
HSLhsl(245, 40%, 76%)
HSVhsv(245, 22%, 86%)
CMYKcmyk(20.1%, 21.9%, 0%, 14.1%)
CIE-LABlab(71.79, 11.35, -23.68)
CIE-LCHlch(71.79, 26.25, 295.61°)
OKLaboklab(76.11% 0.0217 -0.0648)
OKLCHoklch(76.11% 0.068 288.5)
XYZxyz(45.0253, 43.3537, 73.0000)
Luminance0.4335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABDB #D7DBAB
analogous
#ABBFDB #AFABDB #C7ABDB
triadic
#AFABDB #DBAFAB #ABDBAF
tetradic
#AFABDB #DBABBF #D7DBAB #ABDBC7
square
#AFABDB #DBABBF #D7DBAB #ABDBC7
split-complementary
#AFABDB #DBC7AB #BFDBAB
monochromatic
#5D55B6 #8680C9 #AFABDB #D8D6ED #EBEAF6

Accessibility & contrast

On white

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

On black

9.67
#AFABDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABDB
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABDB#FFFFFF#000000##000000
##AFABDB1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB1DD
Deuteranopia (green-blind)
#9FAFDA
Tritanopia (blue-blind)
#A6B3BB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afabdb;
/* rgb */ color: rgb(175, 171, 219);
/* oklch */ color: oklch(76.1% 0.068 288.5);
Tailwind
colors: {
  custom: {
    50: '#c7c4e6',
    500: '#afabdb',
    950: '#000000',
  },
}
SCSS
$custom: #afabdb;
$custom-light: #c7c4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#afabdb",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 219
  },
  "hsl": {
    "h": 245,
    "s": 40,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76111,
    "c": 0.06834,
    "h": 288.5
  },
  "luminance": 0.43354
}

Semantic roles & 50–950 ramp

primary
#AFABDB
secondary
#EBEDDE
accent
#B332A8
background
#FCFCFE
surface
#F8F8FC
border
#D1D1D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFABDB

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

Preview Lab → · Contrast checker → · Palette generator →

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