#AFC8EC#AFC8EC

#AFC8EC is a very light, muted blue. Relative luminance 0.565; OKLCH L 82.6% C 0.058 H 257.5°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#AFC8EC
RGBrgb(175, 200, 236)
HSLhsl(215, 62%, 81%)
HSVhsv(215, 26%, 93%)
CMYKcmyk(25.8%, 15.3%, 0%, 7.5%)
CIE-LABlab(79.88, -0.54, -20.57)
CIE-LCHlch(79.88, 20.58, 268.50°)
OKLaboklab(82.62% -0.0125 -0.0563)
OKLCHoklch(82.62% 0.058 257.5)
XYZxyz(53.4696, 56.4769, 87.4245)
Luminance0.5648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC8EC #ECD3AF
analogous
#AFE6EC #AFC8EC #B4AFEC
triadic
#AFC8EC #ECAFC8 #C8ECAF
tetradic
#AFC8EC #ECAFE6 #ECD3AF #AFECB4
square
#AFC8EC #ECAFE6 #ECD3AF #AFECB4
split-complementary
#AFC8EC #ECB4AF #E6ECAF
monochromatic
#4C84D5 #7EA6E0 #AFC8EC #E0EAF8 #E6EEF9

Accessibility & contrast

On white

1.71
#AFC8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#AFC8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC8EC
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC8EC#FFFFFF#000000##000000
##AFC8EC1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCC9EE
Deuteranopia (green-blind)
#B5C3EB
Tritanopia (blue-blind)
#9ED0D4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afc8ec;
/* rgb */ color: rgb(175, 200, 236);
/* oklch */ color: oklch(82.6% 0.058 257.5);
Tailwind
colors: {
  custom: {
    50: '#c8d8f2',
    500: '#afc8ec',
    950: '#000000',
  },
}
SCSS
$custom: #afc8ec;
$custom-light: #c8d8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#afc8ec",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 236
  },
  "hsl": {
    "h": 215.41,
    "s": 61.616,
    "l": 80.588
  },
  "oklch": {
    "l": 0.82619,
    "c": 0.05766,
    "h": 257.5
  },
  "luminance": 0.56479
}

Semantic roles & 50–950 ramp

primary
#AFC8EC
secondary
#C9A776
accent
#821CC9
background
#FDFEFF
surface
#F9FBFE
border
#D2D4D6
text
#131416
muted
#828385

Preview Lab

Preview with #AFC8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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