#AFAFDB#AFAFDB

#AFAFDB is a light, moderate blue. Relative luminance 0.449; OKLCH L 76.9% C 0.063 H 284.8°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#AFAFDB
RGBrgb(175, 175, 219)
HSLhsl(240, 38%, 77%)
HSVhsv(240, 20%, 86%)
CMYKcmyk(20.1%, 20.1%, 0%, 14.1%)
CIE-LABlab(72.82, 9.14, -22.12)
CIE-LCHlch(72.82, 23.93, 292.45°)
OKLaboklab(76.91% 0.016 -0.0605)
OKLCHoklch(76.91% 0.063 284.8)
XYZxyz(45.7923, 44.8877, 73.2557)
Luminance0.4489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFDB #DBDBAF
analogous
#AFC5DB #AFAFDB #C5AFDB
triadic
#AFAFDB #DBAFAF #AFDBAF
tetradic
#AFAFDB #DBAFC5 #DBDBAF #AFDBC5
square
#AFAFDB #DBAFC5 #DBDBAF #AFDBC5
split-complementary
#AFAFDB #DBC5AF #C5DBAF
monochromatic
#5B5BB5 #8585C8 #AFAFDB #D9D9EE #EAEAF6

Accessibility & contrast

On white

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

On black

9.98
#AFAFDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFDB
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFDB#FFFFFF#000000##000000
##AFAFDB1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4B4DD
Deuteranopia (green-blind)
#A3B1DA
Tritanopia (blue-blind)
#A5B6BE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afafdb;
/* rgb */ color: rgb(175, 175, 219);
/* oklch */ color: oklch(76.9% 0.063 284.8);
Tailwind
colors: {
  custom: {
    50: '#c7c6e6',
    500: '#afafdb',
    950: '#000000',
  },
}
SCSS
$custom: #afafdb;
$custom-light: #c7c6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#afafdb",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 219
  },
  "hsl": {
    "h": 240,
    "s": 37.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76906,
    "c": 0.06254,
    "h": 284.8
  },
  "luminance": 0.44888
}

Semantic roles & 50–950 ramp

primary
#AFAFDB
secondary
#ECECDF
accent
#B135B1
background
#FCFCFE
surface
#F8F8FC
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFAFDB

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

Preview Lab → · Contrast checker → · Palette generator →

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