#AFACEF#AFACEF

#AFACEF is a light, moderate blue. Relative luminance 0.449; OKLCH L 77.1% C 0.095 H 286.0°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#AFACEF
RGBrgb(175, 172, 239)
HSLhsl(243, 68%, 81%)
HSVhsv(243, 28%, 94%)
CMYKcmyk(26.8%, 28%, 0%, 6.3%)
CIE-LABlab(72.79, 15.46, -33.04)
CIE-LCHlch(72.79, 36.48, 295.08°)
OKLaboklab(77.13% 0.0262 -0.0914)
OKLCHoklch(77.13% 0.095 286)
XYZxyz(48.0077, 44.8500, 87.7722)
Luminance0.4485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFACEF #ECEFAC
analogous
#ACCAEF #AFACEF #D0ACEF
triadic
#AFACEF #EFAFAC #ACEFAF
tetradic
#AFACEF #EFACCA #ECEFAC #ACEFD0
square
#AFACEF #EFACCA #ECEFAC #ACEFD0
split-complementary
#AFACEF #EFD0AC #CAEFAC
monochromatic
#4C45DB #7E79E5 #AFACEF #E0DFF9 #E6E5FA

Accessibility & contrast

On white

2.11
#AFACEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#AFACEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFACEF
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFACEF#FFFFFF#000000##000000
##AFACEF1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB4F2
Deuteranopia (green-blind)
#98B1ED
Tritanopia (blue-blind)
#A0B8C4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afacef;
/* rgb */ color: rgb(175, 172, 239);
/* oklch */ color: oklch(77.1% 0.095 286.0);
Tailwind
colors: {
  custom: {
    50: '#c8c4f4',
    500: '#afacef',
    950: '#000000',
  },
}
SCSS
$custom: #afacef;
$custom-light: #c8c4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#afacef",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 239
  },
  "hsl": {
    "h": 242.687,
    "s": 67.677,
    "l": 80.588
  },
  "oklch": {
    "l": 0.7713,
    "c": 0.09507,
    "h": 286
  },
  "luminance": 0.44851
}

Semantic roles & 50–950 ramp

primary
#AFACEF
secondary
#F0F2D9
accent
#D016C7
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFACEF

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

Preview Lab → · Contrast checker → · Palette generator →

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