#AFAFDF#AFAFDF

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

Color values

HEX#AFAFDF
RGBrgb(175, 175, 223)
HSLhsl(240, 43%, 78%)
HSVhsv(240, 22%, 87%)
CMYKcmyk(21.5%, 21.5%, 0%, 12.5%)
CIE-LABlab(72.96, 10.05, -24.08)
CIE-LCHlch(72.96, 26.09, 292.64°)
OKLaboklab(77.06% 0.0173 -0.066)
OKLCHoklch(77.06% 0.068 284.7)
XYZxyz(46.3252, 45.1008, 76.0624)
Luminance0.4510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFDF #DFDFAF
analogous
#AFC7DF #AFAFDF #C7AFDF
triadic
#AFAFDF #DFAFAF #AFDFAF
tetradic
#AFAFDF #DFAFC7 #DFDFAF #AFDFC7
square
#AFAFDF #DFAFC7 #DFDFAF #AFDFC7
split-complementary
#AFAFDF #DFC7AF #C7DFAF
monochromatic
#5858BC #8383CE #AFAFDF #DBDBF0 #E9E9F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAFDF#FFFFFF#000000##000000
##AFAFDF1.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)
#A3B5E1
Deuteranopia (green-blind)
#A1B2DE
Tritanopia (blue-blind)
#A4B7BF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afafdf;
/* rgb */ color: rgb(175, 175, 223);
/* oklch */ color: oklch(77.1% 0.068 284.7);
Tailwind
colors: {
  custom: {
    50: '#c7c6e9',
    500: '#afafdf',
    950: '#000000',
  },
}
SCSS
$custom: #afafdf;
$custom-light: #c7c6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#afafdf",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 223
  },
  "hsl": {
    "h": 240,
    "s": 42.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.77062,
    "c": 0.06822,
    "h": 284.7
  },
  "luminance": 0.45102
}

Semantic roles & 50–950 ramp

primary
#AFAFDF
secondary
#EDEDDE
accent
#B630B6
background
#FCFCFE
surface
#F8F8FC
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFAFDF

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

Preview Lab → · Contrast checker → · Palette generator →

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