#AFC8EF#AFC8EF

#AFC8EF is a very light, moderate blue. Relative luminance 0.567; OKLCH L 82.7% C 0.061 H 259.2°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#AFC8EF
RGBrgb(175, 200, 239)
HSLhsl(217, 67%, 81%)
HSVhsv(217, 27%, 94%)
CMYKcmyk(26.8%, 16.3%, 0%, 6.3%)
CIE-LABlab(79.98, 0.16, -22.03)
CIE-LCHlch(79.98, 22.03, 270.42°)
OKLaboklab(82.73% -0.0115 -0.0603)
OKLCHoklch(82.73% 0.061 259.2)
XYZxyz(53.9091, 56.6527, 89.7393)
Luminance0.5665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC8EF #EFD6AF
analogous
#AFE8EF #AFC8EF #B6AFEF
triadic
#AFC8EF #EFAFC8 #C8EFAF
tetradic
#AFC8EF #EFAFE8 #EFD6AF #AFEFB6
square
#AFC8EF #EFAFE8 #EFD6AF #AFEFB6
split-complementary
#AFC8EF #EFB6AF #E8EFAF
monochromatic
#4982DB #7CA5E5 #AFC8EF #E2EBF9 #E5EDFA

Accessibility & contrast

On white

1.70
#AFC8EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#AFC8EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC8EF
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC8EF#FFFFFF#000000##000000
##AFC8EF1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBCAF1
Deuteranopia (green-blind)
#B4C4EE
Tritanopia (blue-blind)
#9ED0D5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afc8ef;
/* rgb */ color: rgb(175, 200, 239);
/* oklch */ color: oklch(82.7% 0.061 259.2);
Tailwind
colors: {
  custom: {
    50: '#c8d8f4',
    500: '#afc8ef',
    950: '#000000',
  },
}
SCSS
$custom: #afc8ef;
$custom-light: #c8d8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#afc8ef",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 239
  },
  "hsl": {
    "h": 216.563,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.8273,
    "c": 0.06144,
    "h": 259.2
  },
  "luminance": 0.56655
}

Semantic roles & 50–950 ramp

primary
#AFC8EF
secondary
#CDAB75
accent
#8717CF
background
#FDFEFF
surface
#F9FBFE
border
#D2D4D6
text
#131417
muted
#828385

Preview Lab

Preview with #AFC8EF

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

Preview Lab → · Contrast checker → · Palette generator →

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