#AFAFBF#AFAFBF

#AFAFBF is a light, muted blue. Relative luminance 0.435; OKLCH L 75.9% C 0.023 H 285.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#AFAFBF
RGBrgb(175, 175, 191)
HSLhsl(240, 11%, 72%)
HSVhsv(240, 8%, 75%)
CMYKcmyk(8.4%, 8.4%, 0%, 25.1%)
CIE-LABlab(71.92, 3.13, -8.13)
CIE-LCHlch(71.92, 8.71, 291.02°)
OKLaboklab(75.91% 0.0062 -0.0218)
OKLCHoklch(75.91% 0.023 285.8)
XYZxyz(42.4113, 43.5353, 55.4489)
Luminance0.4354 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFBF #BFBFAF
analogous
#AFB7BF #AFAFBF #B7AFBF
triadic
#AFAFBF #BFAFAF #AFBFAF
tetradic
#AFAFBF #BFAFB7 #BFBFAF #AFBFB7
square
#AFAFBF #BFAFB7 #BFBFAF #AFBFB7
split-complementary
#AFAFBF #BFB7AF #B7BFAF
monochromatic
#6C6C87 #8D8DA4 #AFAFBF #D1D1DA #EEEEF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAFBF#FFFFFF#000000##000000
##AFAFBF1.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)
#ABB1C0
Deuteranopia (green-blind)
#ABB0BF
Tritanopia (blue-blind)
#ACB1B4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afafbf;
/* rgb */ color: rgb(175, 175, 191);
/* oklch */ color: oklch(75.9% 0.023 285.8);
Tailwind
colors: {
  custom: {
    50: '#c6c6d2',
    500: '#afafbf',
    950: '#000000',
  },
}
SCSS
$custom: #afafbf;
$custom-light: #c6c6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#afafbf",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 191
  },
  "hsl": {
    "h": 240,
    "s": 11.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75905,
    "c": 0.02268,
    "h": 285.8
  },
  "luminance": 0.43535
}

Semantic roles & 50–950 ramp

primary
#AFAFBF
secondary
#E7E7E3
accent
#955095
background
#FCFCFC
surface
#F8F8F9
border
#D1D1D2
text
#131314
muted
#828282

Preview Lab

Preview with #AFAFBF

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

Preview Lab → · Contrast checker → · Palette generator →

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